[oe] generate a named kernel in ${DEPLOY_DIR_IMAGE}

Frans Meulenbroeks fransmeulenbroeks at gmail.com
Wed Sep 29 06:54:40 UTC 2010


2010/9/29 Andrea Adami <andrea.adami at gmail.com>:
> On Tue, Sep 28, 2010 at 6:54 PM, Frans Meulenbroeks
> <fransmeulenbroeks at gmail.com> wrote:

> We solved same issues with linux-kexecboot.inc including linux.inc and
> redefining vars/tasks.
> In particular
> ...
> PACKAGES = ""
> PROVIDES = ""
> ...
> KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${PV}-${PR}-${MACHINE}"
> KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-kexecboot-${MACHINE}"
> ...
>
> do_populate_sysroot() {
> }
>
> do_install() {
> }
>
> python do_package() {
> }
>

Tried this. works nice.
Two small remarks:

I would have expected you had to add something like:
FILESPATHPKG_append = ":linux-${PV}"
I had to add this to get access to the linux patches.

And this:
S = "${WORKDIR}/linux-${PV}"
might perhaps better end up in the base recipe (in my case linux_2.6.34.bb)
(actually thinking of it the FILESPATHPKG might also be moved into there).

Should I prepare a patch for that ?

Frans.




More information about the Openembedded-devel mailing list