mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03:00
remove binary with same name before installing init to prevent overwriting busybox init per case 0000416
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user