- if [ "$(PROFILE)" != "Default" ]; then \
- if [ -d $(PLATFORM_DIR)/base-files/profile-$(PROFILE)/. ]; then \
- $(CP) $(PLATFORM_DIR)/base-files/profile-$(PROFILE)/* $(1)/; \
- fi; \
- fi
- $(SED) 's,$$$$R,r$(REV),g' $(1)/etc/banner
- $(SED) 's,$$$$S,$(BOARD)-$(KERNEL),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/ipkg.conf
+ $(if $(CONFIG_BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS),cp $(1)/etc/passwd $(1)/etc/shadow)
+ $(SED) 's,$$$$R,$(REVISION),g' $(1)/etc/banner
+ $(SED) 's,$$$$S,$(BOARD),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/ipkg.conf