|
@@ -95,6 +95,8 @@ SKELETON_INIT_COMMON_TARGET_FINALIZE_HOOKS += SKELETON_INIT_COMMON_ADD_SH_TO_SHE
|
|
ifneq ($(SKELETON_INIT_COMMON_BIN_SH),)
|
|
ifneq ($(SKELETON_INIT_COMMON_BIN_SH),)
|
|
define SKELETON_INIT_COMMON_SET_BIN_SH
|
|
define SKELETON_INIT_COMMON_SET_BIN_SH
|
|
ln -sf $(SKELETON_INIT_COMMON_BIN_SH) $(TARGET_DIR)/bin/sh
|
|
ln -sf $(SKELETON_INIT_COMMON_BIN_SH) $(TARGET_DIR)/bin/sh
|
|
|
|
+ $(SED) '/^root:/s,[^/]*$$,$(SKELETON_INIT_COMMON_BIN_SH),' \
|
|
|
|
+ $(TARGET_DIR)/etc/passwd
|
|
endef
|
|
endef
|
|
endif
|
|
endif
|
|
endif
|
|
endif
|