mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
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/ Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
committed by
Koen Kooi
parent
443481fec3
commit
d7553889e8
@@ -1,3 +0,0 @@
|
|||||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
|
|
||||||
|
|
||||||
PRINC = "1"
|
|
||||||
@@ -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/"
|
||||||
Reference in New Issue
Block a user