Skip to content

Commit acf78de

Browse files
committed
Take BB_SYMLINK_DISABLE into account during installation
It is very important not to create symlinks for utilities from this list because their functionality is very different from utilities from util-linux and kmod. Fixes: 309b175 ("feature/runtime-compressed-fs: New feature to create a compressed initramfs") Signed-off-by: Alexey Gladkov <[email protected]>
1 parent 7fbb3cd commit acf78de

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,7 @@ ifneq ($(SCDOC),)
450450
endif
451451
ifeq ($(USE_BUSYBOX),yes)
452452
$(Q)while read -r busybox_link; do \
453+
for ign in $(BB_SYMLINK_DISABLE); do [ -n "$${busybox_link##*/$$ign}" ] || continue 2; done; \
453454
ln -srf -- "$(DESTDIR)$(runtimedir)/bin/busybox" "$(DESTDIR)$(runtimedir)$$busybox_link"; \
454455
done < $(OBJDIR)/external/busybox/busybox.links
455456
endif

0 commit comments

Comments
 (0)