[oe] RFC: Kernel image packaging

Hans Henry von Tresckow hvontres at gmail.com
Wed Mar 14 21:20:20 UTC 2007


On 3/14/07, Richard Purdie <rpurdie at rpsys.net> wrote:
>
> Hi,
>
> The kernel packaging has given various people concern for a while. The
> problem is some devices don't want a kernel binary installed into the
> root filesystem. We can do this at the moment but the kernel doesn't end
> up packaged and we would like those packages to be available even if
> they're not installed by default on a given device.
>
> I'm proposing the patch below. This basically adds a
> kernel-${KERNEL_VERSION} package to the mix. This package is in the
> Dependencies of all kernel modules instead of
> kernel-image-${KERNEL_VERSION}. As standard, kernel-${KERNEL_VERSION}
> also RDEPENDS on the kernel-image.
>
> For a device that doesn't want the kernel in the rootfs, it would simply
> set:
>
> RDEPENDS_kernel-base = ""
>
> in the appropriate kernel file. Perhaps the definition below should be
> a ?= and the above could then be set in the machine.conf file.
>
> Does anyone see a nicer way to handle this or have an alternative?
>
> If nobody objects, this will probably get committed at the weekend.


Looks pretty clean and straightforward to me. :)



More information about the Openembedded-devel mailing list