[oe-commits] Martin Jansa : meta-systemd: restore wpa-supplicant bbappend
git at git.openembedded.org
git at git.openembedded.org
Tue Mar 5 13:37:52 UTC 2013
Module: meta-openembedded.git
Branch: master
Commit: 8c8a5765650e08a74cbe238a3571592d9bc2c2a3
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=8c8a5765650e08a74cbe238a3571592d9bc2c2a3
Author: Martin Jansa <Martin.Jansa at gmail.com>
Date: Mon Mar 4 14:19:26 2013 +0100
meta-systemd: restore wpa-supplicant bbappend
* systemd support in oe-core does not work for everybody
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
.../wpa-supplicant/wpa-supplicant_2.0.bbappend | 15 +++++++++++++++
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 0000000..609a1f3
--- /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/"
More information about the Openembedded-commits
mailing list