[oe-commits] Roy Li : multilib: Ensure we map the SYSTEMD_PACKAGES variable
git at git.openembedded.org
git at git.openembedded.org
Sun Feb 9 11:01:51 UTC 2014
Module: openembedded-core.git
Branch: dora
Commit: 5748342f445d4233af838a6a65449a5d1baeb3c2
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=5748342f445d4233af838a6a65449a5d1baeb3c2
Author: Roy Li <rongqing.li at windriver.com>
Date: Tue Dec 10 13:46:16 2013 +0800
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 master rev: 84f1d3252c369dff06a517baa4fd7fe274782e40)
Signed-off-by: Roy Li <rongqing.li at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
meta/classes/multilib.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index 9503096..5eb4a7b 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"
More information about the Openembedded-commits
mailing list