grub-efi-native_2.00.bb: fix a build issue
authorNitin A Kamble <nitin.a.kamble@intel.com>
Tue, 26 Mar 2013 16:51:45 +0000 (09:51 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Mar 2013 17:53:45 +0000 (17:53 +0000)
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)

(From OE-Core rev: 11ba0231244b8a27939969353e3aa668ce78f7c6)

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/grub/grub-efi-native_2.00.bb

index 14ab9ea..6f8ba8e 100644 (file)
@@ -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