From: Andreas Müller Date: Fri, 17 Aug 2012 07:48:20 +0000 (+0000) Subject: wpa-supplicant: add systemd support X-Git-Tag: rev_ivi_2015_02_04~4324 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=021fddabe1015d669f6ad11ed4ae1a0998e0b539;p=scm%2Fbb%2Ftizen-distro.git wpa-supplicant: add systemd support * native systemd support came in with v1.0 [1] * needs [2] to work properly * mends my wlan under control of networkmanager [1] http://hostap.epitest.fi/gitweb/gitweb.cgi?p=hostap-1.git;a=blob_plain;f=wpa_supplicant/ChangeLog [2] http://patches.openembedded.org/patch/34335/ (From meta-openembedded rev: d7553889e89a33c166c5d67411c4ffe7b4d6ed99) Signed-off-by: Andreas Müller Signed-off-by: Koen Kooi Signed-off-by: Patrick Ohly --- diff --git a/meta-openembedded/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend b/meta-openembedded/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend deleted file mode 100644 index 54da0ff..0000000 --- a/meta-openembedded/meta-oe/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend +++ /dev/null @@ -1,3 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" - -PRINC = "1" diff --git a/meta-openembedded/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend b/meta-openembedded/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend new file mode 100644 index 0000000..a4dceb4 --- /dev/null +++ b/meta-openembedded/meta-systemd/oe-core/recipes-connectivity/wpa-supplicant/wpa-supplicant_1.0.bbappend @@ -0,0 +1,15 @@ +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/"