1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 23:32:49 +02:00

base-files: Add additional base-files search paths

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15583 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
hcg 2009-05-04 12:39:21 +00:00
parent 4b975756ef
commit 15f5d5dcaa

View File

@ -148,12 +148,18 @@ define Package/base-files$(TARGET)/install
if [ -d $(PLATFORM_DIR)/base-files-$(PROFILE)/. ]; then \
$(CP) $(PLATFORM_DIR)/base-files-$(PROFILE)/* $(1)/; \
fi
if [ -d $(PLATFORM_DIR)/$(PROFILE)/base-files/. ]; then \
$(CP) $(PLATFORM_DIR)/$(PROFILE)/base-files/* $(1)/; \
fi
$(if $(filter-out $(PLATFORM_DIR),$(PLATFORM_SUBDIR)), \
if [ -d $(PLATFORM_SUBDIR)/base-files/. ]; then \
$(CP) $(PLATFORM_SUBDIR)/base-files/* $(1)/; \
fi; \
if [ -d $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/. ]; then \
$(CP) $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/* $(1)/; \
fi; \
if [ -d $(PLATFORM_SUBDIR)/$(PROFILE)/base-files/. ]; then \
$(CP) $(PLATFORM_SUBDIR)/$(PROFILE)/base-files/* $(1)/; \
fi \
)
# Form valid /etc/shadow entries, by copying the user:pw pairs