base-files: Add additional base-files search paths
SVN-Revision: 15583
This commit is contained in:
parent
0f12854d02
commit
42e35d0a95
1 changed files with 6 additions and 0 deletions
|
@ -148,12 +148,18 @@ define Package/base-files$(TARGET)/install
|
||||||
if [ -d $(PLATFORM_DIR)/base-files-$(PROFILE)/. ]; then \
|
if [ -d $(PLATFORM_DIR)/base-files-$(PROFILE)/. ]; then \
|
||||||
$(CP) $(PLATFORM_DIR)/base-files-$(PROFILE)/* $(1)/; \
|
$(CP) $(PLATFORM_DIR)/base-files-$(PROFILE)/* $(1)/; \
|
||||||
fi
|
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 $(filter-out $(PLATFORM_DIR),$(PLATFORM_SUBDIR)), \
|
||||||
if [ -d $(PLATFORM_SUBDIR)/base-files/. ]; then \
|
if [ -d $(PLATFORM_SUBDIR)/base-files/. ]; then \
|
||||||
$(CP) $(PLATFORM_SUBDIR)/base-files/* $(1)/; \
|
$(CP) $(PLATFORM_SUBDIR)/base-files/* $(1)/; \
|
||||||
fi; \
|
fi; \
|
||||||
if [ -d $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/. ]; then \
|
if [ -d $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/. ]; then \
|
||||||
$(CP) $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/* $(1)/; \
|
$(CP) $(PLATFORM_SUBDIR)/base-files-$(PROFILE)/* $(1)/; \
|
||||||
|
fi; \
|
||||||
|
if [ -d $(PLATFORM_SUBDIR)/$(PROFILE)/base-files/. ]; then \
|
||||||
|
$(CP) $(PLATFORM_SUBDIR)/$(PROFILE)/base-files/* $(1)/; \
|
||||||
fi \
|
fi \
|
||||||
)
|
)
|
||||||
# Form valid /etc/shadow entries, by copying the user:pw pairs
|
# Form valid /etc/shadow entries, by copying the user:pw pairs
|
||||||
|
|
Loading…
Reference in a new issue