diff options
author | Roy Li <rongqing.li@windriver.com> | 2013-12-10 13:46:16 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-12-10 17:42:43 +0000 |
commit | 209eba7067a93ed7fc87c6810a710c2b1b9a031d (patch) | |
tree | 42ab62cb0f0afaee186937002c32e016a89b78bc /meta/classes/multilib.bbclass | |
parent | 511997535fbaa2976b85d8f2fa8607027e276148 (diff) | |
download | poky-209eba7067a93ed7fc87c6810a710c2b1b9a031d.tar.gz |
multilib: Ensure we map the SYSTEMD_PACKAGES variable
If we don't do this, systemd.bbclase will complain to unable to find multilib
packages since PACKAGES is expand with mlprefix, but SYSTEMD_PACKAGES is not,
like in ntp.inc:
$grep PACKAGES meta-oe/meta-networking/recipes-support/ntp/ntp.inc
PACKAGES += "ntpdate sntp ${PN}-tickadj ${PN}-utils"
SYSTEMD_PACKAGES = "${PN} ntpdate sntp"
$
$bitbake ntp
ERROR: ntpdate does not appear in package list, please add it
ERROR: sntp does not appear in package list, please add it
$
(From OE-Core rev: 84f1d3252c369dff06a517baa4fd7fe274782e40)
Signed-off-by: Roy Li <rongqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/multilib.bbclass')
-rw-r--r-- | meta/classes/multilib.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 9503096245..5eb4a7ba86 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass | |||
@@ -105,6 +105,7 @@ python __anonymous () { | |||
105 | clsextend.map_variable("PACKAGE_INSTALL") | 105 | clsextend.map_variable("PACKAGE_INSTALL") |
106 | clsextend.map_variable("INITSCRIPT_PACKAGES") | 106 | clsextend.map_variable("INITSCRIPT_PACKAGES") |
107 | clsextend.map_variable("USERADD_PACKAGES") | 107 | clsextend.map_variable("USERADD_PACKAGES") |
108 | clsextend.map_variable("SYSTEMD_PACKAGES") | ||
108 | } | 109 | } |
109 | 110 | ||
110 | PACKAGEFUNCS_append = " do_package_qa_multilib" | 111 | PACKAGEFUNCS_append = " do_package_qa_multilib" |