package/wpa_supplicant: fix ifupdown-scripts build
Fix the following build failure with ifupdown-scripts and
BR2_PER_PACKAGE_DIRECTORIES raised since commit
eed183e67e
:
ln -sf ../if-up.d/wpasupplicant /nvmedata/autobuild/instance-11/output-1/per-package/wpa_supplicant/target/etc/network/if-down.d/wpasupplicant
ln: failed to create symbolic link '/nvmedata/autobuild/instance-11/output-1/per-package/wpa_supplicant/target/etc/network/if-down.d/wpasupplicant': No such file or directory
Fixes:
- http://autobuild.buildroot.org/results/fb35c29a966e21a29df5923e6d27ca372a4b4909
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
c74332c780
commit
33677fb46e
@ -260,7 +260,9 @@ ifeq ($(BR2_PACKAGE_IFUPDOWN_SCRIPTS),y)
|
||||
define WPA_SUPPLICANT_INSTALL_IFUP_SCRIPTS
|
||||
$(INSTALL) -m 0755 -D package/wpa_supplicant/ifupdown.sh \
|
||||
$(TARGET_DIR)/etc/network/if-up.d/wpasupplicant
|
||||
ln -sf ../if-up.d/wpasupplicant $(TARGET_DIR)/etc/network/if-down.d/wpasupplicant
|
||||
mkdir -p $(TARGET_DIR)/etc/network/if-down.d
|
||||
ln -sf ../if-up.d/wpasupplicant \
|
||||
$(TARGET_DIR)/etc/network/if-down.d/wpasupplicant
|
||||
endef
|
||||
endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user