Skip to contentSkip to conversation

wpa_supplicant: define BINDIR for systemd/dbus service files

PATCH New Gustavo Zacarias 2 participants 2 messages Nov 28, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 wpa_supplicant: define BINDIR for systemd/dbus service files

BINDIR is used to point systemd/dbus service files to the correct binary path where wpa_supplicant resides.
So define it to avoid the default /usr/local path that doesn't work. Solves bug #6704

---
 package/wpa_supplicant/wpa_supplicant.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/wpa_supplicant/wpa_supplicant.mk +1 -1
index 450e10f..4ae41c1 100644
@@ -137,7 +137,7 @@ endef
 
 define WPA_SUPPLICANT_BUILD_CMDS
 	$(TARGET_MAKE_ENV) CFLAGS="$(WPA_SUPPLICANT_CFLAGS)" \
-		LDFLAGS="$(TARGET_LDFLAGS)" \
+		LDFLAGS="$(TARGET_LDFLAGS)" BINDIR=/usr/sbin \
 		$(MAKE) CC="$(TARGET_CC)" -C $(@D)/$(WPA_SUPPLICANT_SUBDIR)
 endef
 
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 1/1 wpa_supplicant: define BINDIR for systemd/dbus service files

Quoted 8 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Gustavo" == Gustavo Zacarias <[email protected]> writes:

BINDIR is used to point systemd/dbus service files to the correct binary path where wpa_supplicant resides.
So define it to avoid the default /usr/local path that doesn't work. Solves bug #6704

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard