Skip to contentSkip to conversation

A single commit to fix grub-efi-native build

PATCH In review [email protected] 2 participants 3 messages Mar 26, 2013

lore
Share & tools
lore
#0 lore raw

cover A single commit to fix grub-efi-native build

From: Nitin A Kamble <[email protected]>

Due to recent changes in the oecore layer to use separate builddir, the grub-efi-native recipe need to change to avoid build errors.

Thanks,
Nitin

The following changes since commit c376f1f49cea182a2887945840ab97a20970a373:

package.bbclass: Ensure debug source file is generated correctly (2013-03-25 17:42:58 +0000)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib nitin/misc
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=nitin/misc

Nitin A Kamble (1):
grub-efi-native_2.00.bb: fix a build issue

 meta/recipes-bsp/grub/grub-efi-native_2.00.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Signature · 1 line
1.7.3.4
#1 lore raw

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

From: Nitin A Kamble <[email protected]>

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)

---
 meta/recipes-bsp/grub/grub-efi-native_2.00.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-bsp/grub/grub-efi-native_2.00.bb +1 -1
index 14ab9ea..6f8ba8e 100644
@@ -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
 
Signature · 1 line
1.7.3.4
Acked-by on v1 1/1
#2 lore raw

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

Quoted 10 lines · On 03/26/2013 09:51 AM, [email protected] wrote:

From: Nitin A Kamble <[email protected]>

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)

Quoted 18 lines
---
 meta/recipes-bsp/grub/grub-efi-native_2.00.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-bsp/grub/grub-efi-native_2.00.bb +1 -1
index 14ab9ea..6f8ba8e 100644
@@ -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
 
Signature · 3 lines
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel