projects
/
openwrt
/
staging
/
hauke.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ed389d
)
include/rootfs.mk: do not remove opkg prerm scripts during rootfs preparation
author
Matthias Schiffer
<
[email protected]
>
Tue, 6 Mar 2018 07:49:14 +0000
(08:49 +0100)
committer
Matthias Schiffer
<
[email protected]
>
Wed, 7 Mar 2018 07:49:45 +0000
(08:49 +0100)
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 <
[email protected]
>
include/rootfs.mk
patch
|
blob
|
history
diff --git
a/include/rootfs.mk
b/include/rootfs.mk
index 1844f849e2436fb8b1bc5ffa98983aea33565ff9..541b54b451921cf6818557a7dc921f2710fbe19c 100644
(file)
--- 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))