mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-01 21:23:51 -09:00
package/iwd: install upstream main.conf
Note this changes EnableNetworkConfiguration from true to false according to the upstream default, users who want a standalone iwd setup which handles DHCP will need to adjust the config. Adjusting NameResolvingService according to selected packages is unlikely to have unexpected effects, so keep that. This makes iwd work as a drop-in replacement for wpa_supplicant with NetworkManager. Signed-off-by: Fiona Klute <fiona.klute@gmx.de> Signed-off-by: Marcus Hoffmann <buildroot@bubu1.eu>
This commit is contained in:
committed by
Marcus Hoffmann
parent
2c80df91c2
commit
8536a5d04a
@@ -51,8 +51,8 @@ IWD_CONF_OPTS += --disable-monitor
|
||||
endif
|
||||
|
||||
define IWD_INSTALL_CONFIG_FILE
|
||||
$(INSTALL) -D -m 644 package/iwd/main.conf $(TARGET_DIR)/etc/iwd/main.conf
|
||||
$(SED) 's,__RESOLV_SERVICE__,$(IWD_RESOLV_SERVICE),' $(TARGET_DIR)/etc/iwd/main.conf
|
||||
$(INSTALL) -D -m 644 $(@D)/doc/main.conf $(TARGET_DIR)/etc/iwd/main.conf
|
||||
$(SED) 's,#\?\(NameResolvingService\)=.*,\1=$(IWD_RESOLV_SERVICE),' $(TARGET_DIR)/etc/iwd/main.conf
|
||||
endef
|
||||
|
||||
IWD_POST_INSTALL_TARGET_HOOKS += IWD_INSTALL_CONFIG_FILE
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
# use built-in dhcp client
|
||||
[General]
|
||||
EnableNetworkConfiguration=true
|
||||
[Network]
|
||||
NameResolvingService=__RESOLV_SERVICE__
|
||||
Reference in New Issue
Block a user