diff options
author | Baruch Siach <baruch@tkos.co.il> | 2014-11-18 21:07:28 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-11-18 21:49:30 +0100 |
commit | 2c7151792024d1d05f00ee8a95e9dd4282510a3e (patch) | |
tree | 9f7fba4f89f70ea0198ba2b12afa5939d64f25d4 /package/coreutils | |
parent | 3b45139297d7f407e00720f667a453f1a9279e12 (diff) |
coreutils: avoid prompt on rebuild
The mode bits of coreutils installed binaries are 555. As a result, on
rebuild mv prompts the user to confirm overwrite of non writable binaries.
Force overwrite to skip this prompt.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/coreutils')
-rw-r--r-- | package/coreutils/coreutils.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/coreutils/coreutils.mk b/package/coreutils/coreutils.mk index e06510e09..db0d8a941 100644 --- a/package/coreutils/coreutils.mk +++ b/package/coreutils/coreutils.mk @@ -102,12 +102,12 @@ endif define COREUTILS_POST_INSTALL # some things go in root rather than usr for f in $(COREUTILS_BIN_PROGS); do \ - mv $(TARGET_DIR)/usr/bin/$$f $(TARGET_DIR)/bin/$$f; \ + mv -f $(TARGET_DIR)/usr/bin/$$f $(TARGET_DIR)/bin/$$f; \ done # link for archaic shells ln -fs test $(TARGET_DIR)/usr/bin/[ # gnu thinks chroot is in bin, debian thinks it's in sbin - mv $(TARGET_DIR)/usr/bin/chroot $(TARGET_DIR)/usr/sbin/chroot + mv -f $(TARGET_DIR)/usr/bin/chroot $(TARGET_DIR)/usr/sbin/chroot endef COREUTILS_POST_INSTALL_TARGET_HOOKS += COREUTILS_POST_INSTALL |