* [PATCH] bitbake.conf: Add PACKAGE_ARCHS to include TUNE_PKGARCH
@ 2011-07-28 20:46 Kumar Gala
2011-07-28 22:36 ` Kumar Gala
2011-08-02 18:09 ` Saul Wold
0 siblings, 2 replies; 3+ messages in thread
From: Kumar Gala @ 2011-07-28 20:46 UTC (permalink / raw)
To: openembedded-core
Recent changes to how TUNE_PKGARCH is composed means it might not be in
the PACKAGE_EXTRA_ARCHS_tune list. Rather than having to update all
such lists we just add TUNE_PKGARCH to PACKAGE_ARCHS.
An example, for ppc603e TUNE_PKGARCH is now:
powerpcppc603e
However, PACKAGE_EXTRA_ARCHS_tune-ppc603e = "powerpc ppc603e"
Thus we run into issues during things like rpm packagine since it will
not end up dealing the rpms created in a 'powerpcppc603e' directory.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
meta/conf/bitbake.conf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 9c80f11..d8b9f36 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -104,7 +104,7 @@ SDK_CC_ARCH = "${BUILD_CC_ARCH}"
PACKAGE_ARCH = "${TUNE_PKGARCH}"
MACHINE_ARCH = "${@[bb.data.getVar('TUNE_PKGARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}"
PACKAGE_EXTRA_ARCHS ??= "${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}"
-PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
+PACKAGE_ARCHS = "all any noarch ${TUNE_PKGARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
# MACHINE_ARCH shouldn't be included here as a variable dependency
# since machine specific packages are handled using multimachine
PACKAGE_ARCHS[vardepsexclude] = "MACHINE_ARCH"
--
1.7.3.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] bitbake.conf: Add PACKAGE_ARCHS to include TUNE_PKGARCH
2011-07-28 20:46 [PATCH] bitbake.conf: Add PACKAGE_ARCHS to include TUNE_PKGARCH Kumar Gala
@ 2011-07-28 22:36 ` Kumar Gala
2011-08-02 18:09 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Kumar Gala @ 2011-07-28 22:36 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Jul 28, 2011, at 3:46 PM, Kumar Gala wrote:
> Recent changes to how TUNE_PKGARCH is composed means it might not be in
> the PACKAGE_EXTRA_ARCHS_tune list. Rather than having to update all
> such lists we just add TUNE_PKGARCH to PACKAGE_ARCHS.
>
> An example, for ppc603e TUNE_PKGARCH is now:
>
> powerpcppc603e
>
> However, PACKAGE_EXTRA_ARCHS_tune-ppc603e = "powerpc ppc603e"
>
> Thus we run into issues during things like rpm packagine since it will
> not end up dealing the rpms created in a 'powerpcppc603e' directory.
>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> meta/conf/bitbake.conf | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
Hmm, this does cause some issues like:
ERROR: Poky's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Error, the PACKAGE_ARCHS variable contains duplicates. The following archs are listed more than once: ppc603e
ERROR: Execution of event handler 'check_sanity_eventhandler' failed
- k
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] bitbake.conf: Add PACKAGE_ARCHS to include TUNE_PKGARCH
2011-07-28 20:46 [PATCH] bitbake.conf: Add PACKAGE_ARCHS to include TUNE_PKGARCH Kumar Gala
2011-07-28 22:36 ` Kumar Gala
@ 2011-08-02 18:09 ` Saul Wold
1 sibling, 0 replies; 3+ messages in thread
From: Saul Wold @ 2011-08-02 18:09 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On 07/28/2011 01:46 PM, Kumar Gala wrote:
> Recent changes to how TUNE_PKGARCH is composed means it might not be in
> the PACKAGE_EXTRA_ARCHS_tune list. Rather than having to update all
> such lists we just add TUNE_PKGARCH to PACKAGE_ARCHS.
>
> An example, for ppc603e TUNE_PKGARCH is now:
>
> powerpcppc603e
>
> However, PACKAGE_EXTRA_ARCHS_tune-ppc603e = "powerpc ppc603e"
>
> Thus we run into issues during things like rpm packagine since it will
> not end up dealing the rpms created in a 'powerpcppc603e' directory.
>
> Signed-off-by: Kumar Gala<galak@kernel.crashing.org>
> ---
> meta/conf/bitbake.conf | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
> index 9c80f11..d8b9f36 100644
> --- a/meta/conf/bitbake.conf
> +++ b/meta/conf/bitbake.conf
> @@ -104,7 +104,7 @@ SDK_CC_ARCH = "${BUILD_CC_ARCH}"
> PACKAGE_ARCH = "${TUNE_PKGARCH}"
> MACHINE_ARCH = "${@[bb.data.getVar('TUNE_PKGARCH', d, 1), bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d, 1))].replace('-', '_')}"
> PACKAGE_EXTRA_ARCHS ??= "${PACKAGE_EXTRA_ARCHS_tune-${DEFAULTTUNE}}"
> -PACKAGE_ARCHS = "all any noarch ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
> +PACKAGE_ARCHS = "all any noarch ${TUNE_PKGARCH} ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
> # MACHINE_ARCH shouldn't be included here as a variable dependency
> # since machine specific packages are handled using multimachine
> PACKAGE_ARCHS[vardepsexclude] = "MACHINE_ARCH"
Not pulled, this has been fixed in another way
Thanks
Sau!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-02 18:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-28 20:46 [PATCH] bitbake.conf: Add PACKAGE_ARCHS to include TUNE_PKGARCH Kumar Gala
2011-07-28 22:36 ` Kumar Gala
2011-08-02 18:09 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox