aboutsummaryrefslogtreecommitdiffstats
path: root/meta-systemd/oe-core
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2013-03-04 14:19:26 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2013-03-05 14:38:06 +0100
commit8c8a5765650e08a74cbe238a3571592d9bc2c2a3 (patch)
tree039fee03caa7cb8e7dec7b6dda0571f3729aeaac /meta-systemd/oe-core
parentd6a9923be4623aa3ba8b7fcc3806fec1295735c9 (diff)
downloadmeta-openembedded-8c8a5765650e08a74cbe238a3571592d9bc2c2a3.tar.gz
meta-openembedded-8c8a5765650e08a74cbe238a3571592d9bc2c2a3.tar.bz2
meta-openembedded-8c8a5765650e08a74cbe238a3571592d9bc2c2a3.zip
meta-systemd: restore wpa-supplicant bbappend
* systemd support in oe-core does not work for everybody Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-systemd/oe-core')
-rw-r--r--meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend15
1 files changed, 15 insertions, 0 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
new file mode 100644
index 000000000..609a1f34d
--- /dev/null
+++ b/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.0.bbappend
@@ -0,0 +1,15 @@
+PRINC := "${@int(PRINC) + 2}"
+
+inherit systemd
+
+SYSTEMD_PACKAGES = "${PN}-systemd"
+SYSTEMD_SERVICE = "wpa_supplicant.service"
+SYSTEMD_AUTO_ENABLE = "disable"
+
+do_install_append () {
+ install -d ${D}${systemd_unitdir}/system
+ install -m 644 ${S}/systemd/*.service ${D}${systemd_unitdir}/system
+}
+
+# systemd.bbclass does not catch all multiple-instance-service-files
+FILES_${PN}-systemd += "${systemd_unitdir}/system/"