* [Buildroot] longterm kernel releases: version-URI different for v2.x kernels
@ 2013-11-16 7:53 Rick Robino
2013-11-16 10:38 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Rick Robino @ 2013-11-16 7:53 UTC (permalink / raw)
To: buildroot
Greetings,
I encountered problems automatically downloading kernel version 2.6.32.61, one of the current longterm releases. It looks like the URL might have changed, so I thought that I would mention it here in case this fact might be news to anyone.
The longterm kernels are in a subdirectory called ?v2/.6/longterm/vA.B.C?. Buildroot only looks in ?v2.6?, which works fine for standard kernels but not the longterm ones for 2.6.
Adjusting LINUX_SITE in linux/linux.mk solved the problem for me.
$ diff linux/linux.mk linux/linux.mk.orig
28c28
< LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6/longterm/v2.6.32/
---
> LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/v2.6/
I hesitated to submit this as a bug or a patch because the longterm naming scheme doesn?t seem consistent at kernel.org between 2.x and 3.x kernels. But, I thought it might help others like myself who are just getting started with buildroot.
Apologies in advance if I?ve simply missed something in the configuration documentation.
?
Rick
^ permalink raw reply [flat|nested] 4+ messages in thread* [Buildroot] longterm kernel releases: version-URI different for v2.x kernels 2013-11-16 7:53 [Buildroot] longterm kernel releases: version-URI different for v2.x kernels Rick Robino @ 2013-11-16 10:38 ` Thomas Petazzoni 2013-11-16 10:59 ` Rick Robino 2013-11-16 15:07 ` Thomas De Schampheleire 0 siblings, 2 replies; 4+ messages in thread From: Thomas Petazzoni @ 2013-11-16 10:38 UTC (permalink / raw) To: buildroot Dear Rick Robino, On Fri, 15 Nov 2013 23:53:40 -0800, Rick Robino wrote: > I encountered problems automatically downloading kernel version > 2.6.32.61, one of the current longterm releases. It looks like the > URL might have changed, so I thought that I would mention it here in > case this fact might be news to anyone. > > The longterm kernels are in a subdirectory called > ?v2/.6/longterm/vA.B.C?. Buildroot only looks in ?v2.6?, which works > fine for standard kernels but not the longterm ones for 2.6. Yes. Buildroot cannot guess if the kernel version you're using is a "normal" version or a "longterm" version. Therefore, when you choose to only give the kernel version in the configuration, it only looks in 2.6/ or 3.x/. If you need a kernel version that is available in some other location, then you should use the "Custom tarball" configuration choice, which allows you to pass an arbitrary URL to a tarball, either located on kernel.org or on some other place. Best regards, Thomas -- Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] longterm kernel releases: version-URI different for v2.x kernels 2013-11-16 10:38 ` Thomas Petazzoni @ 2013-11-16 10:59 ` Rick Robino 2013-11-16 15:07 ` Thomas De Schampheleire 1 sibling, 0 replies; 4+ messages in thread From: Rick Robino @ 2013-11-16 10:59 UTC (permalink / raw) To: buildroot On Nov 16, 2013, at 2:38 AM, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > On Fri, 15 Nov 2013 23:53:40 -0800, Rick Robino wrote: > >> I encountered problems automatically downloading kernel version >> 2.6.32.61, one of the current longterm releases. It looks like the >> URL might have changed, so I thought that I would mention it here in >> case this fact might be news to anyone. >> >> The longterm kernels are in a subdirectory called >> ?v2/.6/longterm/vA.B.C?. Buildroot only looks in ?v2.6?, which works >> fine for standard kernels but not the longterm ones for 2.6. > > Yes. Buildroot cannot guess if the kernel version you're using is a > "normal" version or a "longterm" version. Therefore, when you choose to > only give the kernel version in the configuration, it only looks in > 2.6/ or 3.x/. If you need a kernel version that is available in some > other location, then you should use the "Custom tarball" configuration > choice, which allows you to pass an arbitrary URL to a tarball, > either located on kernel.org or on some other place. > > Best regards, > > Thomas I suspected that there was a ?right way?. Thank you, Thomas. ? Rick -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20131116/46c658fe/attachment-0001.html> ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] longterm kernel releases: version-URI different for v2.x kernels 2013-11-16 10:38 ` Thomas Petazzoni 2013-11-16 10:59 ` Rick Robino @ 2013-11-16 15:07 ` Thomas De Schampheleire 1 sibling, 0 replies; 4+ messages in thread From: Thomas De Schampheleire @ 2013-11-16 15:07 UTC (permalink / raw) To: buildroot Hi Thomas, Rick, On Sat, Nov 16, 2013 at 11:38 AM, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > Dear Rick Robino, > > On Fri, 15 Nov 2013 23:53:40 -0800, Rick Robino wrote: > >> I encountered problems automatically downloading kernel version >> 2.6.32.61, one of the current longterm releases. It looks like the >> URL might have changed, so I thought that I would mention it here in >> case this fact might be news to anyone. >> >> The longterm kernels are in a subdirectory called >> ?v2/.6/longterm/vA.B.C?. Buildroot only looks in ?v2.6?, which works >> fine for standard kernels but not the longterm ones for 2.6. > > Yes. Buildroot cannot guess if the kernel version you're using is a > "normal" version or a "longterm" version. Therefore, when you choose to > only give the kernel version in the configuration, it only looks in > 2.6/ or 3.x/. If you need a kernel version that is available in some > other location, then you should use the "Custom tarball" configuration > choice, which allows you to pass an arbitrary URL to a tarball, > either located on kernel.org or on some other place. This same question popped up a while back as well, maybe we should add this catch in the help text of one of the linux options... Best regards, Thomas ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-11-16 15:07 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-11-16 7:53 [Buildroot] longterm kernel releases: version-URI different for v2.x kernels Rick Robino 2013-11-16 10:38 ` Thomas Petazzoni 2013-11-16 10:59 ` Rick Robino 2013-11-16 15:07 ` Thomas De Schampheleire
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox