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

login
register
mail settings
Submitter Nitin A Kamble
Date March 26, 2013, 4:51 p.m.
Message ID <cfbc9b44fbaff5d2ad0b74d0b78924ff9d14d5b0.1364316538.git.nitin.a.kamble@intel.com>
Download mbox | patch
Permalink /patch/46949/
State Accepted
Commit 21288ac9da291c73fec4601013128158f5da0897
Headers show

Comments

Nitin A Kamble - March 26, 2013, 4:51 p.m.
From: Nitin A Kamble <nitin.a.kamble@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@intel.com>
---
 meta/recipes-bsp/grub/grub-efi-native_2.00.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Darren Hart - March 26, 2013, 7:17 p.m.
On 03/26/2013 09:51 AM, nitin.a.kamble@intel.com wrote:
> From: Nitin A Kamble <nitin.a.kamble@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@intel.com>

Acked-by: Darren Hart <dvhart@linux.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
>  
>

Patch

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