summaryrefslogtreecommitdiff
path: root/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-1.0.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-1.0.inc')
-rw-r--r--meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-1.0.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-1.0.inc b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-1.0.inc
index ff5cddcd06..0645193803 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-1.0.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-1.0.inc
@@ -21,7 +21,7 @@ S = "${WORKDIR}/wpa_supplicant-${PV}/wpa_supplicant"
PACKAGES_prepend = "wpa-supplicant-passphrase wpa-supplicant-cli "
FILES_wpa-supplicant-passphrase = "${bindir}/wpa_passphrase"
FILES_wpa-supplicant-cli = "${sbindir}/wpa_cli"
-FILES_${PN} += "${datadir}/dbus-1/system-services/*"
+FILES_${PN} += "${datadir}/dbus-1/system-services/* ${systemd_unitdir}/system/*"
CONFFILES_${PN} += "${sysconfdir}/wpa_supplicant.conf"
do_configure () {
@@ -63,6 +63,9 @@ do_install () {
install -d ${D}/${datadir}/dbus-1/system-services
install -m 644 ${S}/dbus/*.service ${D}/${datadir}/dbus-1/system-services
+ install -d ${D}/${systemd_unitdir}/system
+ install -m 644 ${S}/systemd/wpa_supplicant.service ${D}/${systemd_unitdir}/system
+
install -d ${D}/etc/default/volatiles
install -m 0644 ${WORKDIR}/99_wpa_supplicant ${D}/etc/default/volatiles
}