[Buildroot] [git commit] Support .dotfiles in / being copied to the TARGET
Peter Korsgaard
jacmet at sunsite.dk
Mon Mar 25 22:38:26 UTC 2013
commit: http://git.buildroot.net/buildroot/commit/?id=1cd3f992fb3659aacbb0cdd3ed64347a37569891
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master
An example is .init_enable_core, to enable coredumps in busybox
Signed-off-by: Tilman Keskinöz <arved at arved.at>
Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile b/Makefile
index f1c98aa..62311ed 100644
--- a/Makefile
+++ b/Makefile
@@ -431,7 +431,7 @@ $(BUILD_DIR)/.root:
mkdir -p $(TARGET_DIR)
if ! [ -d "$(TARGET_DIR)/bin" ]; then \
if [ -d "$(TARGET_SKELETON)" ]; then \
- cp -fa $(TARGET_SKELETON)/* $(TARGET_DIR)/; \
+ rsync -au $(TARGET_SKELETON)/ $(TARGET_DIR)/; \
fi; \
fi
cp support/misc/target-dir-warning.txt $(TARGET_DIR_WARNING_FILE)
More information about the buildroot
mailing list