mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 13:00:02 +00:00
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>
This commit is contained in:
@@ -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/"
|
||||||
Reference in New Issue
Block a user