[OE-core] any value in keeping INITRAMFS_TASK?

Robert P. J. Day rpjday at crashcourse.ca
Thu Feb 26 20:59:50 UTC 2015


  just tripped over INITRAMFS_TASK in kernel.bbclass, which claims to
be only for backward compatibility and should be replaced by
INITRAMFS_IMAGE:

    # NOTE: setting INITRAMFS_TASK is for backward compatibility
    #       The preferred method is to set INITRAMFS_IMAGE, because
    #       this INITRAMFS_TASK has circular dependency problems
    #       if the initramfs requires kernel modules

but i still see usage over in
meta-openembedded/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.1[07].bb:

INITRAMFS_IMAGE = "initramfs-kexecboot-klibc-image"
INITRAMFS_TASK = "${INITRAMFS_IMAGE}:do_rootfs"

should that be updated, and INITRAMFS_TASK tossed?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the Openembedded-core mailing list