Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] initramfs-live-install: remove allarch inherit
@ 2011-06-08 13:48 Tom Zanussi
  2011-06-09 18:41 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Zanussi @ 2011-06-08 13:48 UTC (permalink / raw)
  To: openembedded-core

initramfs-live-install is only compatible with i.86|x86_64 so
shouldn't inherit 'allarch'.  This removes it.

More specifically, commit 52295fa3deef3b0374b99829626d524cefae6001
(Improve handling of 'all' architecture recipes and their interaction
with sstate) sets TARGET_ARCH which due to the COMPATIBLE_HOST setting
in the recipe causes it to be skipped and gives the following error
for any -live build:

NOTE: Resolving any missing task queue dependencies
NOTE: Runtime target 'initramfs-live-install' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['initramfs-live-install']
ERROR: Required build target 'core-image-sato-live' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-sato-live', 'core-ima\
ge-minimal-initramfs', 'initramfs-live-install']
ERROR: Nothing RPROVIDES 'initramfs-live-install'

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
 .../initrdscripts/initramfs-live-install_1.0.bb    |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
index fdda718..6a16f4c 100644
--- a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
@@ -11,8 +11,6 @@ do_install() {
         install -m 0755 ${WORKDIR}/init-install.sh ${D}/install.sh
 }
 
-inherit allarch
-
 FILES_${PN} = " /install.sh "
 
 # Alternatives to grub need adding for other arch support
-- 
1.7.0.4






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

* Re: [PATCH] initramfs-live-install: remove allarch inherit
  2011-06-08 13:48 [PATCH] initramfs-live-install: remove allarch inherit Tom Zanussi
@ 2011-06-09 18:41 ` Saul Wold
  0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2011-06-09 18:41 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 06/08/2011 06:48 AM, Tom Zanussi wrote:
> initramfs-live-install is only compatible with i.86|x86_64 so
> shouldn't inherit 'allarch'.  This removes it.
>
> More specifically, commit 52295fa3deef3b0374b99829626d524cefae6001
> (Improve handling of 'all' architecture recipes and their interaction
> with sstate) sets TARGET_ARCH which due to the COMPATIBLE_HOST setting
> in the recipe causes it to be skipped and gives the following error
> for any -live build:
>
> NOTE: Resolving any missing task queue dependencies
> NOTE: Runtime target 'initramfs-live-install' is unbuildable, removing...
> Missing or unbuildable dependency chain was: ['initramfs-live-install']
> ERROR: Required build target 'core-image-sato-live' has no buildable providers.
> Missing or unbuildable dependency chain was: ['core-image-sato-live', 'core-ima\
> ge-minimal-initramfs', 'initramfs-live-install']
> ERROR: Nothing RPROVIDES 'initramfs-live-install'
>
> Signed-off-by: Tom Zanussi<tom.zanussi@intel.com>
> ---
>   .../initrdscripts/initramfs-live-install_1.0.bb    |    2 --
>   1 files changed, 0 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
> index fdda718..6a16f4c 100644
> --- a/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
> +++ b/meta/recipes-core/initrdscripts/initramfs-live-install_1.0.bb
> @@ -11,8 +11,6 @@ do_install() {
>           install -m 0755 ${WORKDIR}/init-install.sh ${D}/install.sh
>   }
>
> -inherit allarch
> -
>   FILES_${PN} = " /install.sh "
>
>   # Alternatives to grub need adding for other arch support


Merged into OE-Core with slight modification to keep the inherit 
allarch, but commented out.

Thanks
	Sau!



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

end of thread, other threads:[~2011-06-09 18:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08 13:48 [PATCH] initramfs-live-install: remove allarch inherit Tom Zanussi
2011-06-09 18:41 ` Saul Wold

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