[Buildroot] [PATCH] linux: add option to create kernel tarball

Yegor Yefremov yegorslists at googlemail.com
Sun Nov 9 12:36:12 UTC 2014


On Sun, Nov 9, 2014 at 10:48 AM, Thomas Petazzoni
<thomas.petazzoni at free-electrons.com> wrote:
> Yegor,
>
> On Sat, 8 Nov 2014 19:24:48 +0100, Yegor Yefremov wrote:
>
>> Image, you have a system/rootfs, that you've made via BR or it is
>> Debian etc. Now you just want to update the kernel and modules. Kernel
>> is simple, as BR compiles and copies it to output/images folder. But
>> to install kernel modules you first need to invoke one of the make
>> *-pkg commands, to do this you need to first export ARCH,
>> CROSS_COMPILE etc. First then you can copy resulting image to target
>> device and via "tar xf linux-*.tar -C /" install new kernel modules.
>> Am I missing something and such option already exists in BR? The only
>> one I see would be to tar output/target/lib/modules. But it still need
>> to be made manually. I wanted to have an option to have both kernel
>> image and modules ready for installation in output/images.
>
> This really seems like you're looking for a build system that produces
> binary packages. With your patch, you're doing something for the kernel
> specifically, but what if someone has the same need for some other
> library or application built by Buildroot?
>
> So like Peter, I don't think this is something we want to merge in
> Buildroot.

OK. I think, it won't be a problem to make this via post-build script.

Yegor



More information about the buildroot mailing list