[oe-commits] [openembedded-core] 22/23: packagegroup-core-base-utils: Make it machine specific

git at git.openembedded.org git at git.openembedded.org
Thu Jul 25 22:03:47 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 499cf41525fcecb783509c18c4ed93d329cc1a69
Author: Ricardo Ribalda Delgado <ricardo at ribalda.com>
AuthorDate: Thu Jul 25 09:21:10 2019 +0200

    packagegroup-core-base-utils: Make it machine specific
    
    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 at ribalda.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/recipes-extended/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 611e0ca..18e2271 100644
--- a/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb
+++ b/meta/recipes-extended/packagegroups/packagegroup-core-base-utils.bb
@@ -5,6 +5,8 @@
 SUMMARY = "Full-featured set of base utils"
 DESCRIPTION = "Package group bringing in packages needed to provide much of the base utils type functionality found in busybox"
 
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
 inherit packagegroup
 
 VIRTUAL-RUNTIME_vim ?= "vim-tiny"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list