[Buildroot] [ PATCH Selinux v11] skeleton: busybox individual apps no symlink

Niranjan Reddy niranjan.reddy at rockwellcollins.com
Wed Mar 16 11:47:20 UTC 2016


From: Matt Weber <matthew.weber at rockwellcollins.com>

Ignore the creation of a symlink when individual binaries are
used.

Signed-off-by: Matthew Weber <matthew.weber at rockwellcollins.com>
---
 package/skeleton/skeleton.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/skeleton/skeleton.mk b/package/skeleton/skeleton.mk
index 7618835..dacda15 100644
--- a/package/skeleton/skeleton.mk
+++ b/package/skeleton/skeleton.mk
@@ -201,10 +201,12 @@ define SKELETON_SYSTEM_BIN_SH
 	rm -f $(TARGET_DIR)/bin/sh
 endef
 else
+ifeq ($(BR2_PACKAGE_BUSYBOX_INDIVIDUAL_BINARIES),)
 define SKELETON_SYSTEM_BIN_SH
 	ln -sf $(SKELETON_TARGET_GENERIC_BIN_SH) $(TARGET_DIR)/bin/sh
 endef
 endif
+endif
 TARGET_FINALIZE_HOOKS += SKELETON_SYSTEM_BIN_SH
 
 ifeq ($(BR2_TARGET_GENERIC_GETTY),y)
-- 
2.5.0



More information about the buildroot mailing list