summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorDavid Anders <dave123@abcsinc.com>2006-01-24 21:22:20 +0000
committerDavid Anders <dave123@abcsinc.com>2006-01-24 21:22:20 +0000
commit1f6aa30948225c290fb695a84b24056aed386729 (patch)
tree956cf1ad4cf6ad15f80367176d83c91e953973bd /package
parenta206e92aa8e5b406f4bcc1dce68a7c9c56d11115 (diff)
downloadbuildroot-novena-1f6aa30948225c290fb695a84b24056aed386729.tar.gz
buildroot-novena-1f6aa30948225c290fb695a84b24056aed386729.zip
remove binary with same name before installing init to prevent overwriting busybox init per case 0000416
Diffstat (limited to 'package')
-rw-r--r--package/netkitbase/netkitbase.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/netkitbase/netkitbase.mk b/package/netkitbase/netkitbase.mk
index 820465dbe..959fcea7b 100644
--- a/package/netkitbase/netkitbase.mk
+++ b/package/netkitbase/netkitbase.mk
@@ -38,6 +38,7 @@ $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY): $(NETKITBASE_DIR)/$(NETKITBASE_BINARY
# Only install a few selected items...
mkdir -p $(TARGET_DIR)/usr/sbin
cp $(NETKITBASE_DIR)/$(NETKITBASE_BINARY) $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY)
+ rm -f $(TARGET_DIR)/$(NETKITBASE_TARGET_BINARY)
mkdir -p $(TARGET_DIR)/etc
cp $(NETKITBASE_DIR)/etc.sample/inetd.conf $(TARGET_DIR)/etc/
$(SED) "s/^\([a-z]\)/#\1/;" $(TARGET_DIR)/etc/inetd.conf