diff options
author | Khem Raj <raj.khem@gmail.com> | 2013-02-13 17:25:35 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-12 18:49:55 +0200 |
commit | 313f0ae25925caead4f588695ac9c9bcf00b2755 (patch) | |
tree | 1c167bd3cecfa253e438fefd045db110e2fa4cad /meta-systemd/oe-core/recipes-connectivity/wpa-supplicant | |
parent | 0afa2a51d2720ed1d6c06aaef17bd90248ef650e (diff) | |
download | meta-openembedded-313f0ae25925caead4f588695ac9c9bcf00b2755.tar.gz |
meta-systemd: Append ${PN} to SYSTEMD_SERVICE
When using systemd class from OE-Core we also need
to install the units explicitly.
systemd packages ending with -systemd are consumed
and now provided by package proper.
MJ: fix RPROVIDES_PN = PN-systemd in entrance
MJ: add RPROVIDES for ntp*-systemd in ntp
MJ: the same for wpa-supplicant
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-systemd/oe-core/recipes-connectivity/wpa-supplicant')
-rw-r--r-- | meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend index a94b00725..d0ce87eb0 100644 --- a/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend +++ b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend | |||
@@ -1,15 +1,3 @@ | |||
1 | PRINC := "${@int(PRINC) + 2}" | 1 | PRINC := "${@int(PRINC) + 3}" |
2 | 2 | ||
3 | inherit systemd | 3 | RPROVIDES_${PN} += "${PN}-systemd" |
4 | |||
5 | SYSTEMD_PACKAGES = "${PN}-systemd" | ||
6 | SYSTEMD_SERVICE = "wpa_supplicant.service" | ||
7 | SYSTEMD_AUTO_ENABLE = "disable" | ||
8 | |||
9 | do_install_append () { | ||
10 | install -d ${D}${systemd_unitdir}/system | ||
11 | install -m 644 ${S}/wpa_supplicant/systemd/*.service ${D}${systemd_unitdir}/system | ||
12 | } | ||
13 | |||
14 | # systemd.bbclass does not catch all multiple-instance-service-files | ||
15 | FILES_${PN}-systemd += "${systemd_unitdir}/system/" | ||