[oe-commits] Mihai Lindner : grub-efi: fix Nothing PROVIDES 'grub-efi-x86_64-native'

git at git.openembedded.org git at git.openembedded.org
Sat Aug 25 13:52:27 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 20e2aaacb36113604c4ea7c40dd0bbbf224b8360
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=20e2aaacb36113604c4ea7c40dd0bbbf224b8360

Author: Mihai Lindner <mihaix.lindner at linux.intel.com>
Date:   Fri Aug 24 21:06:12 2012 +0300

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]

Signed-off-by: Mihai Lindner <mihaix.lindner at linux.intel.com>

---

 meta/classes/grub-efi.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index a093628..c6f5d4e 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"





More information about the Openembedded-commits mailing list