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 08:49:45 +0100
commitd2daaf8f4002aa240d5657810d90b4eef929f8b3 (patch)
treea7f491493a26fb0442442eb0d66d5ffaac74456c /include
parent6ed389da85a9259c688aac91c859c804e29c485b (diff)
downloadmtk-20170518-d2daaf8f4002aa240d5657810d90b4eef929f8b3.zip
mtk-20170518-d2daaf8f4002aa240d5657810d90b4eef929f8b3.tar.gz
mtk-20170518-d2daaf8f4002aa240d5657810d90b4eef929f8b3.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 1844f84..541b54b 100644
--- a/include/rootfs.mk
+++ b/include/rootfs.mk
@@ -84,7 +84,6 @@ define prepare_rootfs
rm -rf $(1)/tmp/*
rm -f $(1)/usr/lib/opkg/lists/*
rm -f $(1)/usr/lib/opkg/info/*.postinst*
- rm -f $(1)/usr/lib/opkg/info/*.prerm*
rm -f $(1)/var/lock/*.lock
$(call clean_ipkg,$(1))
$(call mklibs,$(1))