From: Tom Zanussi <tom.zanu...@intel.com> x86_64 compatibility was removed from the oe-core initramfs-live-install because it didn't work well with grub 0.97. The meta-intel x86-64 machines still need to use initramfs-live-install so we need an x86_64-compatible recipe.
More fixes for [YOCTO #1428]. Signed-off-by: Tom Zanussi <tom.zanu...@intel.com> --- .../initrdscripts/initramfs-live-install_2.0.bb | 24 ++++++++++++++++++++ 1 files changed, 24 insertions(+), 0 deletions(-) create mode 100644 common/recipes-core/initrdscripts/initramfs-live-install_2.0.bb diff --git a/common/recipes-core/initrdscripts/initramfs-live-install_2.0.bb b/common/recipes-core/initrdscripts/initramfs-live-install_2.0.bb new file mode 100644 index 0000000..da8a64d --- /dev/null +++ b/common/recipes-core/initrdscripts/initramfs-live-install_2.0.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "A live image init script" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +SRC_URI = "file://init-install.sh" + +PR = "r0" + +RDEPENDS="grub parted e2fsprogs-mke2fs" + +do_install() { + install -m 0755 ${WORKDIR}/init-install.sh ${D}/install.sh +} + +# While this package maybe an allarch due to it being a +# simple script, reality is that it is Host specific based +# on the COMPATIBLE_HOST below, which needs to take precedence +#inherit allarch +INHIBIT_DEFAULT_DEPS = "1" + +FILES_${PN} = " /install.sh " + +# Alternatives to grub need adding for other arch support +# consistent with grub 1.98 (grub 2) +COMPATIBLE_HOST = "x86_64.*-linux" -- 1.7.0.4 _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto