multilib: Ensure we map the SYSTEMD_PACKAGES variable
authorRoy Li <rongqing.li@windriver.com>
Tue, 10 Dec 2013 05:46:16 +0000 (13:46 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 10 Dec 2013 17:42:43 +0000 (17:42 +0000)
commit36239d46fb8a55dfdcdb75bbc11d20af61279862
treea00dc4dd90625358298122cb7a82a7f5bf1a56ce
parenta22ebd4c37d5257c8a0a52b425cb3f50fb4c9349
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>
meta/classes/multilib.bbclass