[OE-core] Failed to build zImage-initramfs

Khem Raj raj.khem at gmail.com
Sun Oct 13 01:24:33 UTC 2019


On Sun, 2019-10-13 at 12:14 +1100, JH wrote:
> Hi,
> 
> Apologize if it is not right mailing list for helps, please advise
> which mailing list I should go.
> 
> I have been trying to build zImage-initramfs, according to the
> oe-core/meta/classes/kernel.bbclass, I defined following variables in
> local.conf:
> 
> INITRAMFS_IMAGE = "zImage-initramfs"

this should be the rootfs image that you want to bundle into kernel and
not the name of final kernel as above. Put something like core-image-
minimal-initramfs or somesuch here.

> INITRAMFS_IMAGE_NAME = "zImage-initramfs"
> INITRAMFS_IMAGE_BUNDLE = "1"
> IMAGE_INSTALL_append = "zImage-initramfs"
> 
> But I had following errors:
> 
> ERROR: Nothing RPROVIDES 'zImage-initramfs' (but
> /build/Ramdisk/oe-core/../meta-solar/recipes-core/images/ram-image.bb
> RDEPENDS on or otherwise requires it)
> 
> NOTE: Runtime target 'zImage-initramfs' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['zImage-initramfs']
> 
> ERROR: Required build target 'solar-image' has no buildable
> providers.
> Missing or unbuildable dependency chain was: ['ram-image', 'zImage-
> initramfs']
> 
> In my ram-image.bb:
> 
> inherit core-image
> 
> IMAGE_ROOTFS_SIZE = "100000"
> IMAGE_FSTYPES += " ${INITRAMFS_FSTYPES} cpio.gz tar.gz"
> PACKAGE_INSTALL = "${IMAGE_INSTALL}"
> 
> What I am missing for "Nothing RPROVIDES" error?
> 
> Thank you.
> 
> Kind regards,
> 
> - jh



More information about the Openembedded-core mailing list