From: Ricardo Ribalda Delgado <ricardo@ribalda.com>
To: openembedded-core@lists.openembedded.org
Cc: Ricardo Ribalda Delgado <ricardo@ribalda.com>
Subject: [PATCH] packagegroup-core-base-utils: Make it machine specific
Date: Tue, 23 Jul 2019 14:37:50 +0200 [thread overview]
Message-ID: <20190723123750.24125-1-ricardo@ribalda.com> (raw)
Recipe makes use of the variable MACHINE_FEATURES, which is machine
specific:
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "kbd", "", d)}
This patch avoids multiconfig errors such as:
ERROR: mc:qt5222:packagegroup-core-base-utils-1.0-r0 do_package_qa_setscene: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_package_qa_setscene(d)
0003:
File: '/workdir/repo/poky/meta/classes/insane.bbclass', lineno: 1026, function: do_package_qa_setscene
1022:SSTATETASKS += "do_package_qa"
1023:do_package_qa[sstate-inputdirs] = ""
1024:do_package_qa[sstate-outputdirs] = ""
1025:python do_package_qa_setscene () {
*** 1026: sstate_setscene(d)
1027:}
1028:addtask do_package_qa_setscene
1029:
1030:python do_qa_staging() {
Signed-off-by: Ricardo Ribalda Delgado <ricardo@ribalda.com>
---
.../packagegroups/packagegroup-core-base-utils.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb b/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb
index 611e0cafcc..935322cfe0 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb
@@ -9,6 +9,8 @@ inherit packagegroup
VIRTUAL-RUNTIME_vim ?= "vim-tiny"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
RDEPENDS_${PN} = "\
base-passwd \
bash \
--
2.20.1
next reply other threads:[~2019-07-23 12:37 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-23 12:37 Ricardo Ribalda Delgado [this message]
2019-07-25 4:15 ` [PATCH] packagegroup-core-base-utils: Make it machine specific Mittal, Anuj
2019-07-25 7:22 ` Ricardo Ribalda Delgado
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190723123750.24125-1-ricardo@ribalda.com \
--to=ricardo@ribalda.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox