package/arptables: preserve /usr/sbin symlink
PATCH 1/40 package/arptables: preserve /usr/sbin symlink
With BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/arptables/arptables.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/arptables/arptables.mk +1 -1
@@ -15,7 +15,7 @@ define ARPTABLES_BUILD_CMDS endef define ARPTABLES_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 -D $(@D)/arptables-legacy \ + $(INSTALL) -m 755 $(@D)/arptables-legacy \ $(TARGET_DIR)/usr/sbin/arptables-legacy endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/40 package/babeld: preserve /usr/sbin symlink
With BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/babeld/babeld.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/babeld/babeld.mk +1 -1
@@ -14,7 +14,7 @@ define BABELD_BUILD_CMDS endef define BABELD_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/babeld $(TARGET_DIR)/usr/sbin/babeld + $(INSTALL) -m 755 $(@D)/babeld $(TARGET_DIR)/usr/sbin/babeld endef define BABELD_INSTALL_INIT_SYSV
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/40 package/bonnie: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/bonnie/bonnie.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/bonnie/bonnie.mk +2 -2
@@ -11,8 +11,8 @@ BONNIE_LICENSE = GPL-2.0 BONNIE_LICENSE_FILES = copyright.txt define BONNIE_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/bonnie++ $(TARGET_DIR)/usr/sbin/bonnie++ - $(INSTALL) -D -m 755 $(@D)/zcav $(TARGET_DIR)/usr/sbin/zcav + $(INSTALL) -m 755 $(@D)/bonnie++ $(TARGET_DIR)/usr/sbin/bonnie++ + $(INSTALL) -m 755 $(@D)/zcav $(TARGET_DIR)/usr/sbin/zcav endef $(eval $(autotools-package))
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/40 package/darkhttpd: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/darkhttpd/darkhttpd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/darkhttpd/darkhttpd.mk +1 -1
@@ -15,7 +15,7 @@ define DARKHTTPD_BUILD_CMDS endef define DARKHTTPD_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/darkhttpd \ + $(INSTALL) -m 0755 $(@D)/darkhttpd \ $(TARGET_DIR)/usr/sbin/darkhttpd endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 5/40 package/dcron: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/dcron/dcron.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/dcron/dcron.mk +1 -1
@@ -14,7 +14,7 @@ define DCRON_BUILD_CMDS endef define DCRON_INSTALL_TARGET_CMDS - $(INSTALL) -D -m0700 $(@D)/crond $(TARGET_DIR)/usr/sbin/crond + $(INSTALL) -m0700 $(@D)/crond $(TARGET_DIR)/usr/sbin/crond $(INSTALL) -D -m4755 $(@D)/crontab $(TARGET_DIR)/usr/bin/crontab $(INSTALL) -D -m0644 $(@D)/extra/root.crontab $(TARGET_DIR)/etc/cron.d/system # Busybox provides run-parts, so there is no need to use nor install provided run-cron
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 6/40 package/ebtables: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/ebtables/ebtables.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/ebtables/ebtables.mk +1 -1
@@ -13,7 +13,7 @@ EBTABLES_SELINUX_MODULES = iptables ifeq ($(BR2_PACKAGE_EBTABLES_UTILS_SAVE),y) define EBTABLES_INSTALL_TARGET_UTILS_SAVE - $(INSTALL) -m 0755 -D $(@D)/ebtables-save.sh $(TARGET_DIR)/usr/sbin/ebtables-legacy-save + $(INSTALL) -m 0755 $(@D)/ebtables-save.sh $(TARGET_DIR)/usr/sbin/ebtables-legacy-save endef EBTABLES_POST_INSTALL_TARGET_HOOKS += EBTABLES_INSTALL_TARGET_UTILS_SAVE else
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 7/40 package/fbset: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/fbset/fbset.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/fbset/fbset.mk +1 -1
@@ -15,7 +15,7 @@ define FBSET_BUILD_CMDS endef define FBSET_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/fbset $(TARGET_DIR)/usr/sbin/fbset + $(INSTALL) -m 755 $(@D)/fbset $(TARGET_DIR)/usr/sbin/fbset endef $(eval $(generic-package))
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 8/40 package/fmc: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/fmc/fmc.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/fmc/fmc.mk +1 -1
@@ -32,7 +32,7 @@ define FMC_BUILD_CMDS endef define FMC_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/source/fmc $(TARGET_DIR)/usr/sbin/fmc + $(INSTALL) -m 0755 $(@D)/source/fmc $(TARGET_DIR)/usr/sbin/fmc cp -dpfr $(@D)/etc/fmc $(TARGET_DIR)/etc/ endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 9/40 package/freescale-imx/imx-m4fwloader: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/freescale-imx/imx-m4fwloader/imx-m4fwloader.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/freescale-imx/imx-m4fwloader/imx-m4fwloader.mk +1 -1
@@ -15,7 +15,7 @@ define IMX_M4FWLOADER_BUILD_CMDS endef define IMX_M4FWLOADER_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/imx-m4fwloader \ + $(INSTALL) -m 755 $(@D)/imx-m4fwloader \ $(TARGET_DIR)/usr/sbin/imx-m4fwloader endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 10/40 package/gptfdisk: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/gptfdisk/gptfdisk.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/gptfdisk/gptfdisk.mk +1 -1
@@ -41,7 +41,7 @@ endef define GPTFDISK_INSTALL_TARGET_CMDS for i in $(GPTFDISK_TARGETS_y); do \ - $(INSTALL) -D -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \ + $(INSTALL) -m 0755 $(@D)/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \ done endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 11/40 package/hans: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/hans/hans.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/hans/hans.mk +1 -1
@@ -14,7 +14,7 @@ define HANS_BUILD_CMDS endef define HANS_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 -D $(@D)/hans $(TARGET_DIR)/usr/sbin/hans + $(INSTALL) -m 755 $(@D)/hans $(TARGET_DIR)/usr/sbin/hans endef $(eval $(generic-package))
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 12/40 package/hostapd: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/hostapd/hostapd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/hostapd/hostapd.mk +1 -1
@@ -149,7 +149,7 @@ define HOSTAPD_BUILD_CMDS endef define HOSTAPD_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd \ + $(INSTALL) -m 0755 $(@D)/$(HOSTAPD_SUBDIR)/hostapd \ $(TARGET_DIR)/usr/sbin/hostapd $(INSTALL) -m 0755 -D $(@D)/$(HOSTAPD_SUBDIR)/hostapd_cli \ $(TARGET_DIR)/usr/bin/hostapd_cli
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 13/40 package/irda-utils: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/irda-utils/irda-utils.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/irda-utils/irda-utils.mk +1 -1
@@ -32,7 +32,7 @@ IRDA_UTILS_SBINS- += $(IRDA_UTILS_SBINS-y) define IRDA_UTILS_INSTALL_TARGET_CMDS for i in $(IRDA_UTILS_SBINS-y); do \ - $(INSTALL) -m 0755 -D $(@D)/$$i/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \ + $(INSTALL) -m 0755 $(@D)/$$i/$$i $(TARGET_DIR)/usr/sbin/$$i || exit 1; \ done endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 14/40 package/libpri: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/libpri/libpri.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/libpri/libpri.mk +1 -1
@@ -46,7 +46,7 @@ endef define LIBPRI_INSTALL_TARGET_CMDS $(foreach u,$(LIBPRI_UTILS),\ - $(INSTALL) -D -m 0755 $(@D)/$(u) $(TARGET_DIR)/usr/sbin/$(u)$(sep)) + $(INSTALL) -m 0755 $(@D)/$(u) $(TARGET_DIR)/usr/sbin/$(u)$(sep)) $(call LIBPRI_INSTALL_SO,$(TARGET_DIR)) endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 15/40 package/libss7: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/libss7/libss7.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/libss7/libss7.mk +1 -1
@@ -49,7 +49,7 @@ endef define LIBSS7_INSTALL_TARGET_CMDS $(foreach u,$(LIBSS7_UTILS),\ - $(INSTALL) -D -m 0755 $(@D)/$(u) $(TARGET_DIR)/usr/sbin/$(u)$(sep)) + $(INSTALL) -m 0755 $(@D)/$(u) $(TARGET_DIR)/usr/sbin/$(u)$(sep)) $(call LIBSS7_INSTALL_SO,$(TARGET_DIR)) endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 16/40 package/linux-tools: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/linux-tools/linux-tool-hv.mk.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/linux-tools/linux-tool-hv.mk.in +1 -1
@@ -40,7 +40,7 @@ endif define HV_INSTALL_TARGET_CMDS $(foreach prog,$(HV_PROGS_y), \ - $(INSTALL) -m 0755 -D $(LINUX_DIR)/tools/hv/$(prog) \ + $(INSTALL) -m 0755 $(LINUX_DIR)/tools/hv/$(prog) \ $(TARGET_DIR)/usr/sbin/$(HV_$(prog)) ) $(HV_KVP_HELPER)
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 17/40 package/mtd: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/mtd/mtd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/mtd/mtd.mk +1 -1
@@ -157,7 +157,7 @@ MTD_TARGETS_$(BR2_PACKAGE_MTD_FSCKUBIFS) += fsck.ubifs define MTD_INSTALL_TARGET_CMDS $(foreach f,$(MTD_TARGETS_y), \ - $(INSTALL) -D -m 0755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(notdir $(f)) + $(INSTALL) -m 0755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(notdir $(f)) ) endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 18/40 package/nethogs: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/nethogs/nethogs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/nethogs/nethogs.mk +1 -1
@@ -15,7 +15,7 @@ define NETHOGS_BUILD_CMDS endef define NETHOGS_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/src/nethogs $(TARGET_DIR)/usr/sbin/nethogs + $(INSTALL) -m 0755 $(@D)/src/nethogs $(TARGET_DIR)/usr/sbin/nethogs endef $(eval $(generic-package))
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 19/40 package/noip: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/noip/noip.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/noip/noip.mk +1 -1
@@ -20,7 +20,7 @@ define NOIP_BUILD_CMDS endef define NOIP_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/noip2 $(TARGET_DIR)/usr/sbin/noip2 + $(INSTALL) -m 0755 $(@D)/noip2 $(TARGET_DIR)/usr/sbin/noip2 endef $(eval $(generic-package))
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 20/40 package/odhcp6c: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/odhcp6c/odhcp6c.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/odhcp6c/odhcp6c.mk +1 -1
@@ -12,7 +12,7 @@ ODHCP6C_LICENSE_FILES = COPYING ODHCP6C_DEPENDENCIES = libubox define ODHCP6C_INSTALL_SCRIPT - $(INSTALL) -m 0755 -D $(@D)/odhcp6c-example-script.sh \ + $(INSTALL) -m 0755 $(@D)/odhcp6c-example-script.sh \ $(TARGET_DIR)/usr/sbin/odhcp6c-update endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 21/40 package/openssh: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/openssh/openssh.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/openssh/openssh.mk +1 -1
@@ -117,7 +117,7 @@ endif ifeq ($(BR2_PACKAGE_OPENSSH_SERVER),y) define OPENSSH_INSTALL_SERVER_PROGRAMS - $(INSTALL) -D -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd + $(INSTALL) -m 0755 $(@D)/sshd $(TARGET_DIR)/usr/sbin/sshd $(INSTALL) -D -m 0755 $(@D)/sshd-session $(TARGET_DIR)/usr/libexec/sshd-session $(INSTALL) -D -m 0755 $(@D)/sftp-server $(TARGET_DIR)/usr/libexec/sftp-server $(INSTALL) -D -m 0755 $(@D)/sshd-auth $(TARGET_DIR)/usr/libexec/sshd-auth
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 22/40 package/p910nd: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/p910nd/p910nd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/p910nd/p910nd.mk +1 -1
@@ -14,7 +14,7 @@ define P910ND_BUILD_CMDS endef define P910ND_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/p910nd $(TARGET_DIR)/usr/sbin/p910nd + $(INSTALL) -m 0755 $(@D)/p910nd $(TARGET_DIR)/usr/sbin/p910nd endef $(eval $(generic-package))
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 23/40 package/parprouted: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/parprouted/parprouted.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/parprouted/parprouted.mk +1 -1
@@ -14,7 +14,7 @@ define PARPROUTED_BUILD_CMDS endef define PARPROUTED_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/parprouted $(TARGET_DIR)/usr/sbin/parprouted + $(INSTALL) -m 0755 $(@D)/parprouted $(TARGET_DIR)/usr/sbin/parprouted endef $(eval $(generic-package))
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 24/40 package/pptp-linux: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/pptp-linux/pptp-linux.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/pptp-linux/pptp-linux.mk +1 -1
@@ -19,7 +19,7 @@ define PPTP_LINUX_BUILD_CMDS endef define PPTP_LINUX_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/pptp $(TARGET_DIR)/usr/sbin/pptp + $(INSTALL) -m 0755 $(@D)/pptp $(TARGET_DIR)/usr/sbin/pptp endef $(eval $(generic-package))
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 25/40 package/proftpd: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/proftpd/proftpd.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
package/proftpd/proftpd.mk +3 -3
@@ -126,16 +126,16 @@ PROFTPD_MAKE = $(MAKE1) ifeq ($(BR2_PACKAGE_PERL),y) ifeq ($(BR2_PACKAGE_PROFTPD_MOD_QUOTATAB),y) define PROFTPD_INSTALL_FTPQUOTA - $(INSTALL) -D -m 0755 $(@D)/contrib/ftpquota $(TARGET_DIR)/usr/sbin/ftpquota + $(INSTALL) -m 0755 $(@D)/contrib/ftpquota $(TARGET_DIR)/usr/sbin/ftpquota endef endif define PROFTPD_INSTALL_FTPASSWD - $(INSTALL) -D -m 0755 $(@D)/contrib/ftpasswd $(TARGET_DIR)/usr/sbin/ftpasswd + $(INSTALL) -m 0755 $(@D)/contrib/ftpasswd $(TARGET_DIR)/usr/sbin/ftpasswd endef endif define PROFTPD_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/proftpd $(TARGET_DIR)/usr/sbin/proftpd + $(INSTALL) -m 0755 $(@D)/proftpd $(TARGET_DIR)/usr/sbin/proftpd $(INSTALL) -m 0644 -D $(@D)/sample-configurations/basic.conf $(TARGET_DIR)/etc/proftpd.conf $(SED) 's/^\(Group\s\+\)nogroup/\1nobody/' $(TARGET_DIR)/etc/proftpd.conf $(PROFTPD_INSTALL_FTPQUOTA)
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 26/40 package/ptpd: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/ptpd/ptpd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/ptpd/ptpd.mk +1 -1
@@ -14,7 +14,7 @@ define PTPD_BUILD_CMDS endef define PTPD_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 -D $(@D)/src/ptpd $(TARGET_DIR)/usr/sbin/ptpd + $(INSTALL) -m 755 $(@D)/src/ptpd $(TARGET_DIR)/usr/sbin/ptpd endef define PTPD_INSTALL_INIT_SYSV
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 27/40 package/restorecond: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/restorecond/restorecond.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/restorecond/restorecond.mk +1 -1
@@ -41,7 +41,7 @@ endef define RESTORECOND_INSTALL_TARGET_CMDS $(INSTALL) -m 0644 -D $(@D)/restorecond.conf $(TARGET_DIR)/etc/selinux/restorecond.conf $(INSTALL) -m 0644 -D $(@D)/restorecond_user.conf $(TARGET_DIR)/etc/selinux/restorecond_user.conf - $(INSTALL) -m 0755 -D $(@D)/restorecond $(TARGET_DIR)/usr/sbin/restorecond + $(INSTALL) -m 0755 $(@D)/restorecond $(TARGET_DIR)/usr/sbin/restorecond endef $(eval $(generic-package))
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 28/40 package/spidev_test: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/spidev_test/spidev_test.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/spidev_test/spidev_test.mk +1 -1
@@ -44,7 +44,7 @@ define SPIDEV_TEST_BUILD_CMDS endef define SPIDEV_TEST_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/spidev_test \ + $(INSTALL) -m 755 $(@D)/spidev_test \ $(TARGET_DIR)/usr/sbin/spidev_test endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 29/40 package/sredird: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/sredird/sredird.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/sredird/sredird.mk +1 -1
@@ -14,7 +14,7 @@ define SREDIRD_BUILD_CMDS endef define SREDIRD_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/sredird $(TARGET_DIR)/usr/sbin/sredird + $(INSTALL) -m 0755 $(@D)/sredird $(TARGET_DIR)/usr/sbin/sredird endef $(eval $(generic-package))
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 30/40 package/tftpd: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/tftpd/tftpd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/tftpd/tftpd.mk +1 -1
@@ -19,7 +19,7 @@ TFTPD_AUTORECONF_OPTS = --include=$(@D)/autoconf/m4 define TFTPD_INSTALL_TARGET_CMDS $(INSTALL) -D $(@D)/tftp/tftp $(TARGET_DIR)/usr/bin/tftp - $(INSTALL) -D $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd + $(INSTALL) $(@D)/tftpd/tftpd $(TARGET_DIR)/usr/sbin/tftpd endef define TFTPD_INSTALL_INIT_SYSV
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 31/40 package/ti-gfx: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/ti-gfx/ti-gfx.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/ti-gfx/ti-gfx.mk +1 -1
@@ -165,7 +165,7 @@ define TI_GFX_INSTALL_BINS_CMDS $(TARGET_DIR)/usr/bin/$(bin) ) $(if $(BR2_PACKAGE_TI_GFX_DEBUG), - $(INSTALL) -D -m 0755 package/ti-gfx/esrev.sh \ + $(INSTALL) -m 0755 package/ti-gfx/esrev.sh \ $(TARGET_DIR)/usr/sbin/esrev ) endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 32/40 package/ti-uim: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/ti-uim/ti-uim.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/ti-uim/ti-uim.mk +1 -1
@@ -14,7 +14,7 @@ define TI_UIM_BUILD_CMDS endef define TI_UIM_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/uim \ + $(INSTALL) -m 0755 $(@D)/uim \ $(TARGET_DIR)/usr/sbin/uim endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 33/40 package/triggerhappy: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/triggerhappy/triggerhappy.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/triggerhappy/triggerhappy.mk +2 -2
@@ -29,8 +29,8 @@ endif define TRIGGERHAPPY_INSTALL_TARGET_CMDS $(INSTALL) -d $(TARGET_DIR)/etc/triggerhappy/triggers.d - $(INSTALL) -D -m 0755 $(@D)/thd $(TARGET_DIR)/usr/sbin/thd - $(INSTALL) -D -m 0755 $(@D)/th-cmd $(TARGET_DIR)/usr/sbin/th-cmd + $(INSTALL) -m 0755 $(@D)/thd $(TARGET_DIR)/usr/sbin/thd + $(INSTALL) -m 0755 $(@D)/th-cmd $(TARGET_DIR)/usr/sbin/th-cmd $(TRIGGERHAPPY_INSTALL_UDEV_RULE) endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 34/40 package/tunctl: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/tunctl/tunctl.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/tunctl/tunctl.mk +1 -1
@@ -15,7 +15,7 @@ define TUNCTL_BUILD_CMDS endef define TUNCTL_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/tunctl $(TARGET_DIR)/usr/sbin/tunctl + $(INSTALL) -m 0755 $(@D)/tunctl $(TARGET_DIR)/usr/sbin/tunctl endef $(eval $(generic-package))
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 35/40 package/uboot-tools: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/uboot-tools/uboot-tools.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
package/uboot-tools/uboot-tools.mk +2 -2
@@ -92,14 +92,14 @@ endif ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV),y) define UBOOT_TOOLS_INSTALL_FWPRINTENV - $(INSTALL) -m 0755 -D $(@D)/tools/env/fw_printenv $(TARGET_DIR)/usr/sbin/fw_printenv + $(INSTALL) -m 0755 $(@D)/tools/env/fw_printenv $(TARGET_DIR)/usr/sbin/fw_printenv ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv endef endif ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE),y) define UBOOT_TOOLS_INSTALL_DUMPIMAGE - $(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(TARGET_DIR)/usr/sbin/dumpimage + $(INSTALL) -m 0755 $(@D)/tools/dumpimage $(TARGET_DIR)/usr/sbin/dumpimage endef endif
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 35/40] package/uboot-tools: preserve /usr/sbin symlink
Hi James!
-D normally doesn't replace symlinks with directories, but Ubuntu 26.04 ships with Rust uutils instead of GNU coreutils, which has a bug in install that causes this:
https://github.com/uutils/coreutils/issues/12166
This also affects lots of other packages (e.g. lvm2) and patching every single one of them to not use install -D is probably out of the question.
Also, can you look at my patch for issue 173 (
https://gitlab.com/buildroot.org/buildroot/-/work_items/173)? uboot-tools currently silently builds without FIT_SIGNATURE support even if enabled. This should be fixed.
Best regards,
Ferdinand Bachmann
Quoted 44 lines · James Hilliard
With BR2_ROOTFS_MERGED_BIN=y,
/usr/sbinis a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created
/usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.Signed-off-by James Hilliard <[email protected]>--- package/uboot-tools/uboot-tools.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/uboot-tools/ renamed from package/uboot-tools/uboot-tools.mk +0
-0uboot-tools.mk
indexfa0b6aba78..89d2ec38ea100644package/uboot-tools/uboot-tools.mk +0
-1@@ -92,14 +92,14 @@ endif ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV),y) define UBOOT_TOOLS_INSTALL_FWPRINTENV - $(INSTALL) -m 0755 -D $(@D)/tools/env/fw_printenv$(TARGET_DIR)/usr/sbin/fw_printenv
+ $(INSTALL) -m 0755 $(@D)/tools/env/fw_printenv
$(TARGET_DIR)/usr/sbin/fw_printenvln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenvendef
endififeq ($(BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE),y)
defineUBOOT_TOOLS_INSTALL_DUMPIMAGE
- $(INSTALL) -m 0755 -D $(@D)/tools/dumpimage
$(TARGET_DIR)/usr/sbin/dumpimage
+ $(INSTALL) -m 0755 $(@D)/tools/dumpimage
$(TARGET_DIR)/usr/sbin/dumpimage
endef
endif
Quoted 8 lines
--
2.53.0_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 35/40] package/uboot-tools: preserve /usr/sbin symlink
Edit: I think there was a misunderstanding; I thought you were the maintainer for uboot-tools for a second. Sorry about that.
Added "Manuel Diener" who did the last version bump commit for uboot-tools to the thread.
Quoted 66 lines · Ferdinand Bachmann
Hi James!
-D normally doesn't replace symlinks with directories, but Ubuntu 26.04 ships with Rust uutils instead of GNU coreutils, which has a bug in
installthat causes this:https://github.com/uutils/coreutils/issues/12166
This also affects lots of other packages (e.g. lvm2) and patching every single one of them to not use
install -Dis probably out of the question.Also, can you look at my patch for issue 173 (
https://gitlab.com/buildroot.org/buildroot/-/work_items/173)? uboot-tools currently silently builds withoutFIT_SIGNATUREsupport even if enabled. This should be fixed.Best regards,
Ferdinand BachmannQuoted 44 lines · James Hilliard
With BR2_ROOTFS_MERGED_BIN=y,
/usr/sbinis a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created
/usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.Signed-off-by James Hilliard <[email protected]>--- package/uboot-tools/uboot-tools.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/uboot-tools/ renamed from package/uboot-tools/uboot-tools.mk +0
-0uboot-tools.mk
indexfa0b6aba78..89d2ec38ea100644package/uboot-tools/uboot-tools.mk +0
-1@@ -92,14 +92,14 @@ endif ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV),y) define UBOOT_TOOLS_INSTALL_FWPRINTENV - $(INSTALL) -m 0755 -D $(@D)/tools/env/fw_printenv$(TARGET_DIR)/usr/sbin/fw_printenv
+ $(INSTALL) -m 0755 $(@D)/tools/env/fw_printenv
$(TARGET_DIR)/usr/sbin/fw_printenvln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenvendef
endififeq ($(BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE),y)
defineUBOOT_TOOLS_INSTALL_DUMPIMAGE
- $(INSTALL) -m 0755 -D $(@D)/tools/dumpimage
$(TARGET_DIR)/usr/sbin/dumpimage
+ $(INSTALL) -m 0755 $(@D)/tools/dumpimage
$(TARGET_DIR)/usr/sbin/dumpimage
endef
endif
Quoted 9 lines
Quoted 8 lines
--
2.53.0_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 35/40] package/uboot-tools: preserve /usr/sbin symlink
In reply to Ferdinand BachmannQuoted 4 lines · Ferdinand Bachmann
Hi James!
-D normally doesn't replace symlinks with directories, but Ubuntu 26.04 ships with Rust uutils instead of GNU coreutils, which has a bug in
installthat causes this:
Oh, that makes more sense, I had assumed it was due to merged bin since the rsync error was basically the same as this:
https://github.com/buildroot/buildroot/commit/28694dcec72b11faca6e9d9371fb0f65c590de8b
I tested with the documented workaround on github and it seems to have fixed the issue:
update-alternatives --install /usr/bin/install install /usr/bin/gnuinstall 100
Quoted 4 lines
https://github.com/uutils/coreutils/issues/12166
This also affects lots of other packages (e.g. lvm2) and patching every single one of them to not use
install -Dis probably out of the question.
Hmm, yeah, that's not ideal, not sure if we should still change the 40 I patched or not.
Quoted 46 lines
Also, can you look at my patch for issue 173 (https://gitlab.com/buildroot.org/buildroot/-/work_items/173)? uboot-tools currently silently builds without
FIT_SIGNATUREsupport even if enabled. This should be fixed.Best regards,
Ferdinand BachmannQuoted 40 lines · James Hilliard
With BR2_ROOTFS_MERGED_BIN=y,
/usr/sbinis a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created
/usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.Signed-off-by James Hilliard <[email protected]>--- package/uboot-tools/uboot-tools.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/uboot-tools/uboot-tools.mk +2
-2@@ -92,14 +92,14 @@ endif ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV),y) define UBOOT_TOOLS_INSTALL_FWPRINTENV - $(INSTALL) -m 0755 -D $(@D)/tools/env/fw_printenv $(TARGET_DIR)/usr/sbin/fw_printenv + $(INSTALL) -m 0755 $(@D)/tools/env/fw_printenv $(TARGET_DIR)/usr/sbin/fw_printenv ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv endef endif ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE),y) define UBOOT_TOOLS_INSTALL_DUMPIMAGE - $(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(TARGET_DIR)/usr/sbin/dumpimage + $(INSTALL) -m 0755 $(@D)/tools/dumpimage $(TARGET_DIR)/usr/sbin/dumpimage endef endif
Quoted 7 lines
Quoted 7 lines
--
2.53.0_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 35/40] package/uboot-tools: preserve /usr/sbin symlink
Quoted 6 lines · James Hilliard
Quoted 4 lines · Ferdinand Bachmann
Hi James!
-D normally doesn't replace symlinks with directories, but Ubuntu 26.04 ships with Rust uutils instead of GNU coreutils, which has a bug in
installthat causes this:
Ah, I should have read the rest of the thread before replying to patch 1/40 :-)
Quoted 4 lines
Oh, that makes more sense, I had assumed it was due to merged bin since the rsync error was basically the same as this:
https://github.com/buildroot/buildroot/commit/28694dcec72b11faca6e9d9371fb0f65c590de8b
Quoted 8 lines
I tested with the documented workaround on github and it seems to have fixed the issue:
update-alternatives --install/usr/bin/installinstall/usr/bin/gnuinstall100Quoted 4 lines
https://github.com/uutils/coreutils/issues/12166
This also affects lots of other packages (e.g. lvm2) and patching every single one of them to not use
install -Dis probably out of the question.
Actually, if it's really a uutils issue, please report it to Ubuntu. They are
very good at fixing this stuff quickly. I expect the issue to disappear shortly.
Quoted 3 lines
Hmm, yeah, that's not ideal, not sure if we should still change the 40 I patched or not.
No, we shouldn't. I marked the entire series as Rejected.
Please don't throw away your branch yet though. If Ubuntu claims that it's not
actuallly a bug, we're going to need it after all.
Regards,
Arnout
Quoted 50 lines
Quoted 50 lines
Also, can you look at my patch for issue 173 (https://gitlab.com/buildroot.org/buildroot/-/work_items/173)? uboot-tools currently silently builds without
FIT_SIGNATUREsupport even if enabled. This should be fixed.Best regards,
Ferdinand BachmannQuoted 43 lines · James Hilliard
With BR2_ROOTFS_MERGED_BIN=y,
/usr/sbinis a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created
/usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.Signed-off-by James Hilliard <[email protected]>--- package/uboot-tools/uboot-tools.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)package/uboot-tools/uboot-tools.mk +2
-3@@ -92,14 +92,14 @@ endif ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV),y) define UBOOT_TOOLS_INSTALL_FWPRINTENV - $(INSTALL) -m 0755 -D $(@D)/tools/env/fw_printenv $(TARGET_DIR)/usr/sbin/fw_printenv + $(INSTALL) -m 0755 $(@D)/tools/env/fw_printenv $(TARGET_DIR)/usr/sbin/fw_printenv ln -sf fw_printenv $(TARGET_DIR)/usr/sbin/fw_setenv endef endif ifeq ($(BR2_PACKAGE_UBOOT_TOOLS_DUMPIMAGE),y) define UBOOT_TOOLS_INSTALL_DUMPIMAGE - $(INSTALL) -m 0755 -D $(@D)/tools/dumpimage $(TARGET_DIR)/usr/sbin/dumpimage + $(INSTALL) -m 0755 $(@D)/tools/dumpimage $(TARGET_DIR)/usr/sbin/dumpimage endef endif --2.53.0
Quoted 8 lines
Quoted 4 lines
Quoted 4 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 35/40] package/uboot-tools: preserve /usr/sbin symlink
Hi!
Quoted 9 lines · Arnout Vandecappelle
Quoted 6 lines · James Hilliard
Quoted 4 lines · Ferdinand Bachmann
Hi James!
-D normally doesn't replace symlinks with directories, but Ubuntu 26.04 ships with Rust uutils instead of GNU coreutils, which has a bug in
installthat causes this:Ah, I should have read the rest of the thread before replying to patch 1/40 :-)
I mostly saw this because I had a filter for "uboot-tools"; I didn't even notice that it was part of a larger patch set, sorry for not reading the subject line correctly ^^".
Quoted 9 lines
Quoted 9 lines
Oh, that makes more sense, I had assumed it was due to merged bin since the rsync error was basically the same as this:
https://github.com/buildroot/buildroot/commit/28694dcec72b11faca6e9d9371fb0f65c590de8bI tested with the documented workaround on github and it seems to have fixed the issue:
update-alternatives --install/usr/bin/installinstall/usr/bin/gnuinstall100Quoted 1 line
Quoted 6 lines
Quoted 3 lines
Quoted 3 lines
https://github.com/uutils/coreutils/issues/12166
This also affects lots of other packages (e.g. lvm2) and patching every single one of them to not use
install -Dis probably out of the question.Actually, if it's really a uutils issue, please report it to Ubuntu. They are
very good at fixing this stuff quickly. I expect the issue to disappear shortly.
This was reported to Ubuntu as
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2151454
on May 6th. The bug has not been triaged by the Ubuntu team yet and is still marked "new".
As of today there is no fix package available. The upstream uutils fix PR https://github.com/uutils/coreutils/pull/11505 is still in review.
Quoted 11 lines
Quoted 3 lines
Hmm, yeah, that's not ideal, not sure if we should still change the 40 I patched or not.
No, we shouldn't. I marked the entire series as Rejected.
Please don't throw away your branch yet though. If Ubuntu claims that it's not
actuallly a bug, we're going to need it after all.Regards,
Arnout
If this takes too long for a fix to appear upstream it could be a good idea to mention the workaround in a news posting for the next release so users aren't confused by the build failures.
Best Regards,
Ferdinand Bachmann
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 35/40] package/uboot-tools: preserve /usr/sbin symlink
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Ferdinand" == Ferdinand Bachmann <[email protected]> writes:
Hello,
Quoted 10 lines
Quoted 2 lines
Actually, if it's really a uutils issue, please report it to Ubuntu. They are very good at fixing this stuff quickly. I expect the issue to disappear shortly.
This was reported to Ubuntu as
https://bugs.launchpad.net/ubuntu/+source/rust-coreutils/+bug/2151454
on May 6th. The bug has not been triaged by the Ubuntu team yet and is still marked "new".As of today there is no fix package available. The upstream uutils fix PR https://github.com/uutils/coreutils/pull/11505 is still in review.
FYI: The upstream issue has been merged, but no new release or updated Ubuntu package so far.
Quoted 3 lines
If this takes too long for a fix to appear upstream it could be a good idea to mention the workaround in a news posting for the next release so users aren't confused by the build failures.
I have sent a patch to detect the buggy version and inform the user how to change to the coreutils version here:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
Signature · 5 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 36/40 package/udpcast: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/udpcast/udpcast.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/udpcast/udpcast.mk +1 -1
@@ -16,7 +16,7 @@ UDPCAST_MAKE_OPTS = $(UDPCAST_TARGETS) define UDPCAST_INSTALL_TARGET_CMDS $(foreach f,$(UDPCAST_TARGETS),\ - $(INSTALL) -D -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f) + $(INSTALL) -m 755 $(@D)/$(f) $(TARGET_DIR)/usr/sbin/$(f) ) endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 37/40 package/umtprd: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/umtprd/umtprd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/umtprd/umtprd.mk +1 -1
@@ -14,7 +14,7 @@ define UMTPRD_BUILD_CMDS endef define UMTPRD_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 0755 $(@D)/umtprd $(TARGET_DIR)/usr/sbin/umtprd + $(INSTALL) -m 0755 $(@D)/umtprd $(TARGET_DIR)/usr/sbin/umtprd endef $(eval $(generic-package))
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 38/40 package/unscd: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/unscd/unscd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/unscd/unscd.mk +1 -1
@@ -20,7 +20,7 @@ define UNSCD_BUILD_CMDS endef define UNSCD_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 -D $(@D)/nscd $(TARGET_DIR)/usr/sbin/nscd + $(INSTALL) -m 755 $(@D)/nscd $(TARGET_DIR)/usr/sbin/nscd $(INSTALL) -m 600 -D package/unscd/nscd.conf $(TARGET_DIR)/etc/nscd.conf endef
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 39/40 package/vsftpd: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/vsftpd/vsftpd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/vsftpd/vsftpd.mk +1 -1
@@ -67,7 +67,7 @@ endef # 500 OOPS: vsftpd: refusing to run with writable root inside chroot() # That's why we have to adjust the permissions of /home/ftp define VSFTPD_INSTALL_TARGET_CMDS - $(INSTALL) -D -m 755 $(@D)/vsftpd $(TARGET_DIR)/usr/sbin/vsftpd + $(INSTALL) -m 755 $(@D)/vsftpd $(TARGET_DIR)/usr/sbin/vsftpd test -f $(TARGET_DIR)/etc/vsftpd.conf || \ $(INSTALL) -D -m 644 $(@D)/vsftpd.conf \ $(TARGET_DIR)/etc/vsftpd.conf
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 40/40 package/wpa_supplicant: preserve /usr/sbin symlink
In reply to James HilliardWith BR2_ROOTFS_MERGED_BIN=y, /usr/sbin is a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created /usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
--- package/wpa_supplicant/wpa_supplicant.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
package/wpa_supplicant/wpa_supplicant.mk +3 -3
@@ -245,14 +245,14 @@ endef ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_CLI),y) define WPA_SUPPLICANT_INSTALL_CLI - $(INSTALL) -m 0755 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/wpa_cli \ + $(INSTALL) -m 0755 $(@D)/$(WPA_SUPPLICANT_SUBDIR)/wpa_cli \ $(TARGET_DIR)/usr/sbin/wpa_cli endef endif ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_PASSPHRASE),y) define WPA_SUPPLICANT_INSTALL_PASSPHRASE - $(INSTALL) -m 0755 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/wpa_passphrase \ + $(INSTALL) -m 0755 $(@D)/$(WPA_SUPPLICANT_SUBDIR)/wpa_passphrase \ $(TARGET_DIR)/usr/sbin/wpa_passphrase endef endif
@@ -281,7 +281,7 @@ endef endif define WPA_SUPPLICANT_INSTALL_TARGET_CMDS - $(INSTALL) -m 0755 -D $(@D)/$(WPA_SUPPLICANT_SUBDIR)/wpa_supplicant \ + $(INSTALL) -m 0755 $(@D)/$(WPA_SUPPLICANT_SUBDIR)/wpa_supplicant \ $(TARGET_DIR)/usr/sbin/wpa_supplicant $(INSTALL) -m 644 -D package/wpa_supplicant/wpa_supplicant.conf \ $(TARGET_DIR)/etc/wpa_supplicant.conf
Signature · 6 lines
2.53.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello James, All,
Le 07/05/2026 à 00:33, James Hilliard a écrit :
Quoted 8 lines
With BR2_ROOTFS_MERGED_BIN=y,
/usr/sbinis a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
Maybe this is something we have to fix in the package infrastructure?
Quoted 4 lines
The skeleton dependency has already created
/usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.
This should happen in the autobuilders when BR2_ROOTFS_MERGED_BIN and BR2_PER_PACKAGE_DIRECTORIES are both set. Can you share a link to the issue?
I can't reproduce here with arptables package with BR2_ROOTFS_MERGED_BIN=y and BR2_PER_PACKAGE_DIRECTORIES=y.
Best regards,
Romain
Quoted 11 lines
Signed-off-by James Hilliard <[email protected]>--- package/arptables/arptables.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/arptables/arptables.mk +0
-0
package/arptables/arptables.mk define ARPTABLES_BUILD_CMDS · line 21
Quoted 8 lines
package/arptables/arptables.mk +1
-1@@ -15,7 +15,7 @@ define ARPTABLES_BUILD_CMDS endef define ARPTABLES_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 -D $(@D)/arptables-legacy \ + $(INSTALL) -m 755 $(@D)/arptables-legacy \ $(TARGET_DIR)/usr/sbin/arptables-legacy endef
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 4 lines · James Hilliard
With BR2_ROOTFS_MERGED_BIN=y,
/usr/sbinis a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.
Which version of install are you using? It shouldn't do that...
Regards,
Arnout
Quoted 19 lines
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created
/usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.Signed-off-by James Hilliard <[email protected]>--- package/arptables/arptables.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/arptables/arptables.mk +0
-0
package/arptables/arptables.mk define ARPTABLES_BUILD_CMDS · line 21
Quoted 8 lines
package/arptables/arptables.mk +1
-1@@ -15,7 +15,7 @@ define ARPTABLES_BUILD_CMDS endef define ARPTABLES_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 -D $(@D)/arptables-legacy \ + $(INSTALL) -m 755 $(@D)/arptables-legacy \ $(TARGET_DIR)/usr/sbin/arptables-legacy endef
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 10 lines · Arnout Vandecappelle via buildroot
Quoted 4 lines · James Hilliard
With BR2_ROOTFS_MERGED_BIN=y,
/usr/sbinis a symlink to bin. Using install -D for files below $(TARGET_DIR)/usr/sbin can create the parent directory path and replace that symlink with a real directory.Which version of install are you using? It shouldn't do that...
I reproduced this issue on Ubuntu 26.04. The problem is caused by Rust's coreutils, see https://github.com/uutils/coreutils/issues/11469#issuecomment-4389604475.
Quoted 24 lines
Regards,
ArnoutQuoted 21 lines
With per-package directories, this can later make rsync fail when a package target directory contains a non-empty usr/sbin directory and the skeleton provides usr/sbin -> bin.
The skeleton dependency has already created
/usr/sbin, either as a directory or as the merged-bin symlink, so use plain install and let it follow the existing path.Signed-off-by James Hilliard <[email protected]>--- package/arptables/arptables.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/arptables/arptables.mk +0
-0@@ -15,7 +15,7 @@ define ARPTABLES_BUILD_CMDS endef
Quoted 6 lines
package/arptables/arptables.mk define ARPTABLES_BUILD_CMDS · line 21
Quoted 6 lines
package/arptables/arptables.mk +1
-1define ARPTABLES_INSTALL_TARGET_CMDS - $(INSTALL) -m 755 -D $(@D)/arptables-legacy \ + $(INSTALL) -m 755 $(@D)/arptables-legacy \ $(TARGET_DIR)/usr/sbin/arptables-legacy endef
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot