* [Buildroot] Bug report or teaching moment -- downloading kernel patches
@ 2017-12-30 16:32 Patrick Doyle
2017-12-30 17:10 ` Yann E. MORIN
0 siblings, 1 reply; 4+ messages in thread
From: Patrick Doyle @ 2017-12-30 16:32 UTC (permalink / raw)
To: buildroot
I can't figure this out...am I doing something wrong or have I uncovered a bug?
$ export BR2_DL_DIR=
# (make sure we start with an empty download directory)
$ git clone git://git.buildroot.net/buildroot buildroot.test
# (I am working with master=2a604ddcd8d8bf093cdedaefc074a8c61933a4b6
from a few days ago)
$ cd buildroot.test
$ make atmel_sama5d27_som1_ek_mmc_dev_defconfig
$ make menuconfig
-- navigate to Kernel ---> Custom kernel patches
-- enter https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.9/patches-4.9.61-rt61.tar.gz
-- Exit, Exit, Exit, save changes, etc...
$ make linux-patch
When I do this, a kernel gets downloaded, but no patches get applied.
If I follow that up with
$ cd dl
$ wget https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.9/patches-4.9.61-rt61.tar.gz
$ cd ..
$ make linux-dirclean
$ make linux-patch
The patches I manually downloaded get applied.
Can somebody help me figure out what's going on here? From everything
I've read (and from Yann's email earlier), I would expect the patch
file to be downloaded by the machinery.
If it makes any difference, I have attached the .config file from my build.
Also, for full disclosure, as I just tried this again, I didn't
actually clone from git://git.buildroot.net, I cloned from my existing
(unmodified) buildroot directory, just to save some time.
--wpd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 91848 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20171230/8e4e8693/attachment.obj>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Bug report or teaching moment -- downloading kernel patches
2017-12-30 16:32 [Buildroot] Bug report or teaching moment -- downloading kernel patches Patrick Doyle
@ 2017-12-30 17:10 ` Yann E. MORIN
2017-12-30 17:55 ` Patrick Doyle
0 siblings, 1 reply; 4+ messages in thread
From: Yann E. MORIN @ 2017-12-30 17:10 UTC (permalink / raw)
To: buildroot
Patrick, All,
On 2017-12-30 11:32 -0500, Patrick Doyle spake thusly:
> I can't figure this out...am I doing something wrong or have I uncovered a bug?
Bug.
It's a known bug, where extra downloads are not downloaded when the main
download is something that is not a tarball.
And for atmel_sama5d27_som1_ek_mmc_dev_defconfig, the kernel is from a
git tree, so is not downloaded with wget, so the extra dowenloads are
not downloaded.
Regards,
Yann E. MORIN.
> $ export BR2_DL_DIR=
> # (make sure we start with an empty download directory)
> $ git clone git://git.buildroot.net/buildroot buildroot.test
> # (I am working with master=2a604ddcd8d8bf093cdedaefc074a8c61933a4b6
> from a few days ago)
> $ cd buildroot.test
> $ make atmel_sama5d27_som1_ek_mmc_dev_defconfig
> $ make menuconfig
> -- navigate to Kernel ---> Custom kernel patches
> -- enter https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.9/patches-4.9.61-rt61.tar.gz
> -- Exit, Exit, Exit, save changes, etc...
> $ make linux-patch
>
> When I do this, a kernel gets downloaded, but no patches get applied.
> If I follow that up with
>
> $ cd dl
> $ wget https://cdn.kernel.org/pub/linux/kernel/projects/rt/4.9/patches-4.9.61-rt61.tar.gz
> $ cd ..
> $ make linux-dirclean
> $ make linux-patch
>
> The patches I manually downloaded get applied.
>
> Can somebody help me figure out what's going on here? From everything
> I've read (and from Yann's email earlier), I would expect the patch
> file to be downloaded by the machinery.
>
> If it makes any difference, I have attached the .config file from my build.
> Also, for full disclosure, as I just tried this again, I didn't
> actually clone from git://git.buildroot.net, I cloned from my existing
> (unmodified) buildroot directory, just to save some time.
>
> --wpd
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Bug report or teaching moment -- downloading kernel patches
2017-12-30 17:10 ` Yann E. MORIN
@ 2017-12-30 17:55 ` Patrick Doyle
2017-12-30 18:01 ` Yann E. MORIN
0 siblings, 1 reply; 4+ messages in thread
From: Patrick Doyle @ 2017-12-30 17:55 UTC (permalink / raw)
To: buildroot
On Sat, Dec 30, 2017 at 12:10 PM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> On 2017-12-30 11:32 -0500, Patrick Doyle spake thusly:
>> I can't figure this out...am I doing something wrong or have I uncovered a bug?
>
> Bug.
Is there a workaround? Or should I just wget the patch set into my dl
directory (and put a big README reminding me & others to do the same)
and hope that nobody forgets.
--wpd
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] Bug report or teaching moment -- downloading kernel patches
2017-12-30 17:55 ` Patrick Doyle
@ 2017-12-30 18:01 ` Yann E. MORIN
0 siblings, 0 replies; 4+ messages in thread
From: Yann E. MORIN @ 2017-12-30 18:01 UTC (permalink / raw)
To: buildroot
Patrick, All,
On 2017-12-30 12:55 -0500, Patrick Doyle spake thusly:
> On Sat, Dec 30, 2017 at 12:10 PM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> > On 2017-12-30 11:32 -0500, Patrick Doyle spake thusly:
> >> I can't figure this out...am I doing something wrong or have I uncovered a bug?
> >
> > Bug.
> Is there a workaround? Or should I just wget the patch set into my dl
> directory (and put a big README reminding me & others to do the same)
> and hope that nobody forgets.
If the kernel is also available as a tarball, then use that instead of a
git clone.
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-12-30 18:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-30 16:32 [Buildroot] Bug report or teaching moment -- downloading kernel patches Patrick Doyle
2017-12-30 17:10 ` Yann E. MORIN
2017-12-30 17:55 ` Patrick Doyle
2017-12-30 18:01 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox