[Buildroot] [PATCH] wpa_supplicant: install systemd service files
Mike Williams
mike at mikebwilliams.com
Tue Mar 3 19:42:18 UTC 2015
Signed-off-by: Mike Williams <mike at mikebwilliams.com>
---
package/wpa_supplicant/wpa_supplicant.mk | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index 682cb4c..185c646 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -164,4 +164,15 @@ define WPA_SUPPLICANT_INSTALL_TARGET_CMDS
$(WPA_SUPPLICANT_INSTALL_DBUS)
endef
+define WPA_SUPPLICANT_INSTALL_INIT_SYSTEMD
+ $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant.service \
+ $(TARGET_DIR)/lib/systemd/system
+ $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant at .service \
+ $(TARGET_DIR)/lib/systemd/system
+ $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant-nl80211 at .service \
+ $(TARGET_DIR)/lib/systemd/system
+ $(INSTALL) -m 0644 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/systemd/wpa_supplicant-wired at .service \
+ $(TARGET_DIR)/lib/systemd/system
+endef
+
$(eval $(generic-package))
--
2.1.0
More information about the buildroot
mailing list