[oe-commits] Nitin A Kamble : grub-efi-native_2.00.bb: fix a build issue

git at git.openembedded.org git at git.openembedded.org
Tue Mar 26 17:54:36 UTC 2013


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

Author: Nitin A Kamble <nitin.a.kamble at intel.com>
Date:   Tue Mar 26 09:51:45 2013 -0700

grub-efi-native_2.00.bb: fix a build issue

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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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
 





More information about the Openembedded-commits mailing list