summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2013-12-10 13:46:16 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-10 11:30:59 +0000
commit84f1d3252c369dff06a517baa4fd7fe274782e40 (patch)
tree53167e42c5de7f48b44c501c2d210ef510d3753a
parente5d81f757de4bd1bfd37a96300edd50b77b0d21c (diff)
downloadopenembedded-core-84f1d3252c369dff06a517baa4fd7fe274782e40.tar.gz
openembedded-core-84f1d3252c369dff06a517baa4fd7fe274782e40.tar.bz2
openembedded-core-84f1d3252c369dff06a517baa4fd7fe274782e40.zip
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 $ Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/multilib.bbclass1
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 () {
clsextend.map_variable("PACKAGE_INSTALL")
clsextend.map_variable("INITSCRIPT_PACKAGES")
clsextend.map_variable("USERADD_PACKAGES")
+ clsextend.map_variable("SYSTEMD_PACKAGES")
}
PACKAGEFUNCS_append = " do_package_qa_multilib"