Patchwork [1/1] grub-efi: fix Nothing PROVIDES 'grub-efi-x86_64-native'

login
register
mail settings
Submitter Mihai Lindner
Date Aug. 24, 2012, 6:06 p.m.
Message ID <d048c1eca6c7a9e5f22290689fdca240754b29e9.1345831050.git.mihaix.lindner@linux.intel.com>
Download mbox | patch
Permalink /patch/35321/
State Accepted
Commit 20e2aaacb36113604c4ea7c40dd0bbbf224b8360
Headers show

Comments

Mihai Lindner - Aug. 24, 2012, 6:06 p.m.
"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@linux.intel.com>
---
 meta/classes/grub-efi.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

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"