X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/2c8df114186cfc92f53ef3aed0d4f57189fa7b76..7f44d09489bcbe4292a8bf245dd6d6a1370f238c:/package/base-files/Makefile?ds=inline diff --git a/package/base-files/Makefile b/package/base-files/Makefile index f4ef55d11..9f745aa17 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -53,7 +53,6 @@ define Package/base-files$(TARGET)/conffiles /etc/passwd /etc/profile /etc/shells -/etc/ipkg.conf /etc/sysctl.conf $(call $(TARGET)/conffiles) endef @@ -147,8 +146,8 @@ define Package/base-files$(TARGET)/install $(CP) $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/* $(1)/; \ fi \ ) + $(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 mkdir -p $(1)/dev mkdir -p $(1)/etc/crontabs mkdir -p $(1)/jffs