[yocto] COMPATIBLE_HOST in initramfs-live-install_1.0.bb

Richard Purdie richard.purdie at linuxfoundation.org
Wed Feb 29 02:36:32 PST 2012


On Wed, 2012-02-29 at 14:46 +0800, Xu, Dongxiao wrote:
> I saw in initramfs-live-install_1.0.bb recipe, there is a line to set
> the COMPATIBLE_HOST:
> 
> COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
> 
> But actually initramfs-live-install is set as dependency in
> core-image-minimal-initramfs.bb. Therefore if we set machine to be
> "qemuarm" or something else that is not x86 architecture, and then
> execute:
> # bitbake core-image-minimal-initramfs
> or
> # bitbake universe
> 
> System will report an error of:
> 
> ERROR: Nothing RPROVIDES
> 'initramfs-live-install' (but /home/yocto-build5/poky-contrib/meta/recipes-core/images/core-image-minimal-initramfs.bb RDEPENDS on or otherwise requires it)
> ERROR: initramfs-live-install was skipped: incompatible with host
> arm-poky-linux-gnueabi (not in COMPATIBLE_HOST)
> NOTE: Runtime target 'initramfs-live-install' is unbuildable,
> removing...
> Missing or unbuildable dependency chain was: ['initramfs-live-install']
> ERROR: Required build target 'core-image-minimal-initramfs' has no
> buildable providers.
> Missing or unbuildable dependency chain was:
> ['core-image-minimal-initramfs', 'initramfs-live-install']
> 
> Summary: There was 1 WARNING message shown.
> Summary: There were 2 ERROR messages shown, returning a non-zero exit
> code.
> 
> Could you help to explain the background to set compatible host for the
> initramfs-live-install recipe?

It uses syslinux which only works on IA32?

Cheers,

Richard




More information about the yocto mailing list