Support .dotfiles in / being copied to the TARGET

An example is .init_enable_core, to enable coredumps in busybox

Signed-off-by: Tilman Keskinöz <arved@arved.at>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Tilman Keskinöz 2013-03-25 04:48:11 +00:00 committed by Peter Korsgaard
parent d26c729845
commit 1cd3f992fb

View File

@ -431,7 +431,7 @@ $(BUILD_DIR)/.root:
mkdir -p $(TARGET_DIR) mkdir -p $(TARGET_DIR)
if ! [ -d "$(TARGET_DIR)/bin" ]; then \ if ! [ -d "$(TARGET_DIR)/bin" ]; then \
if [ -d "$(TARGET_SKELETON)" ]; then \ if [ -d "$(TARGET_SKELETON)" ]; then \
cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \ rsync -au $(TARGET_SKELETON)/ $(TARGET_DIR)/; \
fi; \ fi; \
fi fi
cp support/misc/target-dir-warning.txt $(TARGET_DIR_WARNING_FILE) cp support/misc/target-dir-warning.txt $(TARGET_DIR_WARNING_FILE)