Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] A single commit to fix grub-efi-native build
@ 2013-03-26 16:51 nitin.a.kamble
  2013-03-26 16:51 ` [PATCH 1/1] grub-efi-native_2.00.bb: fix a build issue nitin.a.kamble
  0 siblings, 1 reply; 3+ messages in thread
From: nitin.a.kamble @ 2013-03-26 16:51 UTC (permalink / raw)
  To: Openembedded-core

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

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(-)

-- 
1.7.3.4




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] grub-efi-native_2.00.bb: fix a build issue
  2013-03-26 16:51 [PATCH 0/1] A single commit to fix grub-efi-native build nitin.a.kamble
@ 2013-03-26 16:51 ` nitin.a.kamble
  2013-03-26 19:17   ` Darren Hart
  0 siblings, 1 reply; 3+ messages in thread
From: nitin.a.kamble @ 2013-03-26 16:51 UTC (permalink / raw)
  To: Openembedded-core

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(-)

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




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] grub-efi-native_2.00.bb: fix a build issue
  2013-03-26 16:51 ` [PATCH 1/1] grub-efi-native_2.00.bb: fix a build issue nitin.a.kamble
@ 2013-03-26 19:17   ` Darren Hart
  0 siblings, 0 replies; 3+ messages in thread
From: Darren Hart @ 2013-03-26 19:17 UTC (permalink / raw)
  To: nitin.a.kamble; +Cc: Openembedded-core



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
>  
> 

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-26 19:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-26 16:51 [PATCH 0/1] A single commit to fix grub-efi-native build nitin.a.kamble
2013-03-26 16:51 ` [PATCH 1/1] grub-efi-native_2.00.bb: fix a build issue nitin.a.kamble
2013-03-26 19:17   ` Darren Hart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox