From: Mihai Lindner Date: Fri, 24 Aug 2012 18:06:12 +0000 (+0300) Subject: grub-efi: fix Nothing PROVIDES 'grub-efi-x86_64-native' X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a807818544df4b13ed13d6778b27ccb23d0fd764;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git grub-efi: fix Nothing PROVIDES 'grub-efi-x86_64-native' "ERROR: Nothing PROVIDES 'grub-efi-x86_64-native'" is returned when trying to build meta-intel/meta-cedartrail with DEFAULTTUNE = "core2-64" Used TRANSLATED_TARGET_ARCH instead of TARGET_ARCH in grub-efi.bbclass [YOCTO #3013] (From OE-Core rev: 20e2aaacb36113604c4ea7c40dd0bbbf224b8360) Signed-off-by: Mihai Lindner Signed-off-by: Richard Purdie --- diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass index a0936284552..c6f5d4e246f 100644 --- a/meta/classes/grub-efi.bbclass +++ b/meta/classes/grub-efi.bbclass @@ -14,7 +14,7 @@ # ${GRUB_OPTS} - additional options to add to the config, ';' delimited # (optional) # ${GRUB_TIMEOUT} - timeout before executing the deault label (optional) -do_bootimg[depends] += "grub-efi-${TARGET_ARCH}-native:do_deploy" +do_bootimg[depends] += "grub-efi-${TRANSLATED_TARGET_ARCH}-native:do_deploy" GRUBCFG = "${S}/grub.cfg" GRUB_TIMEOUT ?= "10"