Patchwork [base,2/3] wpa-supplicant: move configuration to separate package

login
register
mail settings
Submitter Jacob Kjaergaard
Date Oct. 5, 2013, 6:24 p.m.
Message ID <1380997489-21879-2-git-send-email-jabk@prevas.dk>
Download mbox | patch
Permalink /patch/280780/
State Accepted
Delegated to: Esben Haabendal
Headers show

Comments

Jacob Kjaergaard - Oct. 5, 2013, 6:24 p.m.
From: Jacob Kjaergaard <jacob@barsoekjaergaard.dk>

configuration file is moved to separate package. then projects can
override the default configuration by providing a wpa-supplicant-conf
package with DEFAULT_PREFERENCE>	1
---
 recipes/wpa-supplicant/wpa-supplicant.inc |    4 ++++
 1 file changed, 4 insertions(+)

\ No newline at end of file
Esben Haabendal - Oct. 15, 2013, 12:13 p.m.
Merged to master, thanks.

/Esben

Patch

diff --git a/recipes/wpa-supplicant/wpa-supplicant.inc b/recipes/wpa-supplicant/wpa-supplicant.inc
index 0e6ad90..a85ec25 100644
--- a/recipes/wpa-supplicant/wpa-supplicant.inc
+++ b/recipes/wpa-supplicant/wpa-supplicant.inc
@@ -75,3 +75,7 @@  FILES_${PN} += "${datadir}/dbus-1/system-services/*"
 
 inherit auto-package-utils
 AUTO_PACKAGE_UTILS = "wpa_passphrase wpa_cli wpa_supplicant"
+
+PACKAGES =+  "${PN}-conf"
+FILES_${PN}-conf = "${sysconfdir}/wpa_supplicant.conf"
+RDEPENDS_${PN}-wpa-supplicant += "${PN}-conf"