From: David Anders Date: Tue, 24 Jan 2006 21:22:20 +0000 (-0000) Subject: remove binary with same name before installing init to prevent overwriting busybox... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1f6aa30948225c290fb695a84b24056aed386729;p=buildroot.git remove binary with same name before installing init to prevent overwriting busybox init per case 0000416 --- diff --git a/package/netkitbase/netkitbase.mk b/package/netkitbase/netkitbase.mk index 820465dbe7..959fcea7b6 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