aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPiotr Dymacz <pepe2k@gmail.com>2019-06-16 22:07:50 +0200
committerPiotr Dymacz <pepe2k@gmail.com>2020-12-22 21:27:25 +0100
commit8c28da9724636251adf000ef411f57cbff39a383 (patch)
tree428ea3adde3986076807d74b449970e9426ff735 /package
parent67790f569514fd612dad3ca4026cde652875be08 (diff)
downloadupstream-8c28da9724636251adf000ef411f57cbff39a383.tar.gz
upstream-8c28da9724636251adf000ef411f57cbff39a383.tar.bz2
upstream-8c28da9724636251adf000ef411f57cbff39a383.zip
base-files: drop banner.failsafe if failsafe is disabled
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Diffstat (limited to 'package')
-rw-r--r--package/base-files/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index fb1267ea5b..47d4e73b42 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -12,7 +12,7 @@ include $(INCLUDE_DIR)/version.mk
include $(INCLUDE_DIR)/feeds.mk
PKG_NAME:=base-files
-PKG_RELEASE:=241
+PKG_RELEASE:=242
PKG_FLAGS:=nonshared
PKG_FILE_DEPENDS:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
@@ -202,6 +202,9 @@ define Package/base-files/install
$(VERSION_SED_SCRIPT) $(1)/etc/opkg/distfeeds.conf)
$(if $(CONFIG_IPK_FILES_CHECKSUMS),, \
rm -f $(1)/sbin/pkg_check)
+
+ $(if $(CONFIG_TARGET_PREINIT_DISABLE_FAILSAFE), \
+ rm -f $(1)/etc/banner.failsafe,)
endef
ifneq ($(DUMP),1)