summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-03-06 08:49:14 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-03-07 10:03:01 +0100
commit696c6325a3a70b8160d064473bd12421cc4da186 (patch)
tree63e33e90ff6a939f7d4b14f92d82ac88a87550ee /include
parent17c0362178caf837680a4631b8d0de94e5393448 (diff)
downloadmtk-20170518-696c6325a3a70b8160d064473bd12421cc4da186.zip
mtk-20170518-696c6325a3a70b8160d064473bd12421cc4da186.tar.gz
mtk-20170518-696c6325a3a70b8160d064473bd12421cc4da186.tar.bz2
include/rootfs.mk: do not remove opkg prerm scripts during rootfs preparation
When a user removes a preinstalled opkg package, the package's prerm script (and in particular our default_prerm) should run. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'include')
-rw-r--r--include/rootfs.mk1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/rootfs.mk b/include/rootfs.mk
index c014b1d..dc400a0 100644
--- a/include/rootfs.mk
+++ b/include/rootfs.mk
@@ -82,7 +82,6 @@ define prepare_rootfs
@-find $(1) -name '.#*' | $(XARGS) rm -f
rm -f $(1)/usr/lib/opkg/lists/*
rm -f $(1)/usr/lib/opkg/info/*.postinst*
- rm -f $(1)/usr/lib/opkg/info/*.prerm*
$(call clean_ipkg,$(1))
$(call mklibs,$(1))
endef