creates a passwd's shadow file if busybox supports the feature, fixes #2887
SVN-Revision: 12017
This commit is contained in:
parent
93ce64320a
commit
79aebec9e0
|
@ -147,6 +147,7 @@ define Package/base-files$(TARGET)/install
|
||||||
$(CP) $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/* $(1)/; \
|
$(CP) $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/* $(1)/; \
|
||||||
fi \
|
fi \
|
||||||
)
|
)
|
||||||
|
$(if $(CONFIG_BUSYBOX_CONFIG_FEATURE_SHADOWPASSWDS),cp $(1)/etc/passwd $(1)/etc/shadow)
|
||||||
$(SED) 's,$$$$R,$(REVISION),g' $(1)/etc/banner
|
$(SED) 's,$$$$R,$(REVISION),g' $(1)/etc/banner
|
||||||
$(SED) 's,$$$$S,$(BOARD),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/ipkg.conf
|
$(SED) 's,$$$$S,$(BOARD),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/ipkg.conf
|
||||||
mkdir -p $(1)/dev
|
mkdir -p $(1)/dev
|
||||||
|
|
Loading…
Reference in New Issue