Browse Source

- target-scripts: remove flash_eraseall; installed by mtd-utils

master
vanhofen 4 years ago
parent
commit
320b95e8c1
  1. 6
      make/target-scripts.mk
  2. 4
      skel-root/general/scripts/flash_eraseall

6
make/target-scripts.mk

@ -165,18 +165,12 @@ endif
scripts: \
$(TARGET_sbindir)/service \
$(TARGET_sbindir)/flash_eraseall \
$(TARGET_sbindir)/update-rc.d \
$(TARGET_datadir)/udhcpc/default.script
$(TARGET_sbindir)/service:
$(INSTALL_EXEC) -D $(TARGET_FILES)/scripts/service $(@)
$(TARGET_sbindir)/flash_eraseall:
ifeq ($(BOXTYPE), coolstream)
$(INSTALL_EXEC) -D $(TARGET_FILES)/scripts/flash_eraseall $(@)
endif
$(TARGET_sbindir)/update-rc.d:
$(INSTALL_EXEC) -D $(HELPERS_DIR)/update-rc.d $(@)

4
skel-root/general/scripts/flash_eraseall

@ -1,4 +0,0 @@
#!/bin/sh
echo "${0##*/} has been replaced by \`flash_erase <mtddev> 0 0\`; please use it" 1>&2
[ $# -ne 0 ] && set -- "$@" 0 0
exec flash_erase "$@"
Loading…
Cancel
Save