[Buildroot] Custom kernal patch not being run
Thomas De Schampheleire
patrickdepinguin at gmail.com
Fri Aug 29 19:31:21 UTC 2014
On Fri, Aug 29, 2014 at 8:22 PM, buildrootcharles
<charles.s at mercury-security.com> wrote:
>> Which version of Buildroot are you using? Is this a recent release?
> I'm using Buildroot version 2013.08
>> Also, please send us your .config so we can try to reproduce.
> config file attached (I renamed it default.config just for the upload)
>> The message 'Downloading additional patches' should not appear for
>> local patches, i.e. those that are in a directory, but only for http
>> or ftp patches.
I cannot reproduce this. Your config file looks sane as far as the
kernel settings are concerned.
I just modified the path to the kernel and patch directory, then I get:
$ make linux-dirclean
rm -Rf /tmp/buildroot-2013.08/output/build/linux-custom
tdescham at argentina /tmp/buildroot-2013.08 $ make linux-patch
>>> linux custom Download additional patches
>>> linux custom Extracting
bzcat /tmp/buildroot-2013.08/dl/linux-3.9.4.tar.bz2 | tar
/tmp/buildroot-2013.08/output/build/linux-custom -xf -
>>> linux custom Patching /package/linux
for p in /tmp/foo ; do if echo $p | grep -q -E "^ftp://|^http://" ;
/tmp/buildroot-2013.08/dl `basename $p` ; elif test -d $p ; then
/tmp/buildroot-2013.08/output/build/linux-custom $p linux-\*.patch ;
/tmp/buildroot-2013.08/output/build/linux-custom `dirname $p`
`basename $p` ; fi done
Applying linux-bar.patch using patch:
The corresponding settings were:
Your config file indicates that this is not a clean buildroot tree.
Have you verified this issue on a clean buildroot-2013.08 release?
Were any changes made in this area?
If the problem is still present, you could instrument linux/linux.mk
with some echo statements, particularly in the LINUX_DOWNLOAD_PATCHES
and LINUX_APPLY_PATCHES blocks.
More information about the buildroot