summaryrefslogtreecommitdiffstats
path: root/meta/packages
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/wpa-supplicant/files/99_wpa_supplicant1
-rw-r--r--meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc10
-rw-r--r--meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb2
3 files changed, 9 insertions, 4 deletions
diff --git a/meta/packages/wpa-supplicant/files/99_wpa_supplicant b/meta/packages/wpa-supplicant/files/99_wpa_supplicant
new file mode 100644
index 0000000000..6ff4dd8826
--- /dev/null
+++ b/meta/packages/wpa-supplicant/files/99_wpa_supplicant
@@ -0,0 +1 @@
d root root 0700 /var/run/wpa_supplicant none
diff --git a/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc b/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc
index c8578e7c25..667b168ee6 100644
--- a/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc
+++ b/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc
@@ -11,7 +11,8 @@ SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \
11 file://defaults-sane \ 11 file://defaults-sane \
12 file://wpa-supplicant.sh \ 12 file://wpa-supplicant.sh \
13 file://wpa_supplicant.conf \ 13 file://wpa_supplicant.conf \
14 file://wpa_supplicant.conf-sane" 14 file://wpa_supplicant.conf-sane \
15 file://99_wpa_supplicant"
15 16
16S = "${WORKDIR}/wpa_supplicant-${PV}" 17S = "${WORKDIR}/wpa_supplicant-${PV}"
17 18
@@ -35,8 +36,6 @@ do_install () {
35 install -m 755 wpa_passphrase ${D}${sbindir} 36 install -m 755 wpa_passphrase ${D}${sbindir}
36 install -m 755 wpa_cli ${D}${sbindir} 37 install -m 755 wpa_cli ${D}${sbindir}
37 38
38 install -d ${D}${localstatedir}/run/wpa_supplicant
39
40 install -d ${D}${docdir}/wpa_supplicant 39 install -d ${D}${docdir}/wpa_supplicant
41 install -m 644 README ${WORKDIR}/wpa_supplicant.conf ${D}${docdir}/wpa_supplicant 40 install -m 644 README ${WORKDIR}/wpa_supplicant.conf ${D}${docdir}/wpa_supplicant
42 41
@@ -54,9 +53,14 @@ do_install () {
54 53
55 install -d ${D}/${sysconfdir}/dbus-1/system.d 54 install -d ${D}/${sysconfdir}/dbus-1/system.d
56 install -m 644 ${S}/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d 55 install -m 644 ${S}/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d
56
57 install -d ${D}/etc/default/volatiles
58 install -m 0644 ${WORKDIR}/99_wpa_supplicant ${D}/etc/default/volatiles
57} 59}
58 60
59pkg_postinst_wpa-supplicant () { 61pkg_postinst_wpa-supplicant () {
62 /etc/init.d/populate-volatile.sh update
63
60 # can't do this offline 64 # can't do this offline
61 if [ "x$D" != "x" ]; then 65 if [ "x$D" != "x" ]; then
62 exit 1 66 exit 1
diff --git a/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb b/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb
index e4babb2b6d..440cdebfd8 100644
--- a/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb
+++ b/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb
@@ -1,3 +1,3 @@
1require wpa-supplicant-0.5.inc 1require wpa-supplicant-0.5.inc
2 2
3PR = "r4" 3PR = "r5"