* [Buildroot] [PATCH 1/1] package/wpa_supplicant: fix ifupdown-scripts build
@ 2022-07-16 13:07 Fabrice Fontaine
2022-07-16 22:22 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-07-16 13:07 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine, Matt Weber, Sergey Matyukevich
Fix the following build failure with ifupdown-scripts and
BR2_PER_PACKAGE_DIRECTORIES raised since commit
eed183e67e02a35e98fbf6baead9c9ee559b493e:
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>
---
package/wpa_supplicant/wpa_supplicant.mk | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
index afcd6502e3..e5e3938be1 100644
--- a/package/wpa_supplicant/wpa_supplicant.mk
+++ b/package/wpa_supplicant/wpa_supplicant.mk
@@ -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
--
2.35.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/wpa_supplicant: fix ifupdown-scripts build
2022-07-16 13:07 [Buildroot] [PATCH 1/1] package/wpa_supplicant: fix ifupdown-scripts build Fabrice Fontaine
@ 2022-07-16 22:22 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2022-07-16 22:22 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: Matt Weber, Sergey Matyukevich, buildroot
Fabrice, All,
On 2022-07-16 15:07 +0200, Fabrice Fontaine spake thusly:
> Fix the following build failure with ifupdown-scripts and
> BR2_PER_PACKAGE_DIRECTORIES raised since commit
> eed183e67e02a35e98fbf6baead9c9ee559b493e:
>
> 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>
Applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/wpa_supplicant/wpa_supplicant.mk | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk
> index afcd6502e3..e5e3938be1 100644
> --- a/package/wpa_supplicant/wpa_supplicant.mk
> +++ b/package/wpa_supplicant/wpa_supplicant.mk
> @@ -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
>
> --
> 2.35.1
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-16 22:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-16 13:07 [Buildroot] [PATCH 1/1] package/wpa_supplicant: fix ifupdown-scripts build Fabrice Fontaine
2022-07-16 22:22 ` Yann E. MORIN
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.