[OE-core] [PATCH 1/1] grub-efi-native_2.00.bb: fix a build issue

nitin.a.kamble at intel.com nitin.a.kamble at intel.com
Tue Mar 26 16:51:45 UTC 2013


From: Nitin A Kamble <nitin.a.kamble at intel.com>

Due to recent change in the oecore layer grub-efi recipe uses separate
builddir and the paths used in the do_deply need to change accordingly.

This change avoids this build issue:
install: cannot stat `/build-fri2/tmp/work/x86_64-linux/grub-efi-i586-native/2.00-r1/grub-2.00/bootia32.efi': No such file or directory
ERROR: Function failed: do_deploy (see /build-fri2/tmp/work/x86_64-linux/grub-efi-i586-native/2.00-r1/temp/log.do_deploy.5875 for further information)

Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
---
 meta/recipes-bsp/grub/grub-efi-native_2.00.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-bsp/grub/grub-efi-native_2.00.bb b/meta/recipes-bsp/grub/grub-efi-native_2.00.bb
index 14ab9ea..6f8ba8e 100644
--- a/meta/recipes-bsp/grub/grub-efi-native_2.00.bb
+++ b/meta/recipes-bsp/grub/grub-efi-native_2.00.bb
@@ -71,7 +71,7 @@ do_mkimage() {
 addtask mkimage after do_compile before do_install
 
 do_deploy() {
-	install -m 644 ${S}/${GRUB_IMAGE} ${DEPLOYDIR}
+	install -m 644 ${B}/${GRUB_IMAGE} ${DEPLOYDIR}
 }
 addtask deploy after do_install before do_build
 
-- 
1.7.3.4





More information about the Openembedded-core mailing list