mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
wpa-supplicant: enable the DBus control interface (for NM)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2788 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -174,3 +174,5 @@ CONFIG_TLS=gnutls
|
|||||||
# apply for distribution of the resulting binary.
|
# apply for distribution of the resulting binary.
|
||||||
CONFIG_GNUTLS_EXTRA=y
|
CONFIG_GNUTLS_EXTRA=y
|
||||||
|
|
||||||
|
# Add support for DBus control interface
|
||||||
|
CONFIG_CTRL_IFACE_DBUS=y
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ DESCRIPTION = "A Client for Wi-Fi Protected Access (WPA)."
|
|||||||
SECTION = "network"
|
SECTION = "network"
|
||||||
LICENSE = "GPL"
|
LICENSE = "GPL"
|
||||||
HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/"
|
HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/"
|
||||||
DEPENDS = "gnutls"
|
DEPENDS = "gnutls dbus"
|
||||||
|
|
||||||
SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \
|
SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \
|
||||||
file://defconfig-gnutls \
|
file://defconfig-gnutls \
|
||||||
@@ -57,4 +57,7 @@ do_install () {
|
|||||||
install -m 755 ${WORKDIR}/wpa-supplicant.sh ${D}${sysconfdir}/network/if-pre-up.d/wpa-supplicant
|
install -m 755 ${WORKDIR}/wpa-supplicant.sh ${D}${sysconfdir}/network/if-pre-up.d/wpa-supplicant
|
||||||
cd ${D}${sysconfdir}/network/ && \
|
cd ${D}${sysconfdir}/network/ && \
|
||||||
ln -sf ../if-pre-up.d/wpa-supplicant if-post-down.d/wpa-supplicant
|
ln -sf ../if-pre-up.d/wpa-supplicant if-post-down.d/wpa-supplicant
|
||||||
|
|
||||||
|
install -d ${D}/${sysconfdir}/dbus-1/system.d
|
||||||
|
install -m 644 ${S}/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +1,3 @@
|
|||||||
require wpa-supplicant-0.5.inc
|
require wpa-supplicant-0.5.inc
|
||||||
|
|
||||||
|
PR = "r1"
|
||||||
|
|||||||
Reference in New Issue
Block a user