[openwrt/openwrt] include/rootfs.mk: do not remove opkg prerm scripts during rootfs preparation
LEDE Commits
lede-commits at lists.infradead.org
Wed Mar 7 01:00:09 PST 2018
neoraider pushed a commit to openwrt/openwrt.git, branch master:
https://git.lede-project.org/d2daaf8f4002aa240d5657810d90b4eef929f8b3
commit d2daaf8f4002aa240d5657810d90b4eef929f8b3
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Tue Mar 6 08:49:14 2018 +0100
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 at universe-factory.net>
---
include/rootfs.mk | 1 -
1 file changed, 1 deletion(-)
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))
More information about the lede-commits
mailing list