[LEDE-DEV] [PATCH 04/12] build: prepare_rootfs: preserve prerm script

Yousong Zhou yszhou4tech at gmail.com
Sun Mar 5 01:31:35 PST 2017


They will still be needed at the time when pre-installed packages are to
be removed on target device

Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
 include/rootfs.mk | 1 -
 1 file changed, 1 deletion(-)

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
-- 
2.6.4




More information about the Lede-dev mailing list