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

Peter Korsgaard jacmet at uclibc.org
Sat Nov 8 21:53:04 UTC 2014


>>>>> "Yegor" == Yegor Yefremov <yegorslists at googlemail.com> writes:

Hi,

 >> Well, the kernel has this "tar-pkg" target that other packages
 >> typically don't have. However, I'm curious to know what is the use case
 >> for "make tar-pkg" in the kernel in the context of Buildroot.
 >> 
 >> Yegor?

 > 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.

That imho sounds like a quite special setup and something that could
easily be implemented in a custom post-buid / post-image script.

So I prefer to NOT add this patch.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list