Explorar o código

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 <[email protected]>
Matthias Schiffer %!s(int64=7) %!d(string=hai) anos
pai
achega
d2daaf8f40
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      include/rootfs.mk

+ 0 - 1
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))