From 78c1140acb3a4f439d502b24b36d296a453a6af1 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Sun, 5 Mar 2017 15:01:07 +0800 Subject: [PATCH] build: prepare_rootfs: preserve prerm script They will still be needed at the time when pre-installed packages are to be removed on target device Signed-off-by: Yousong Zhou --- include/rootfs.mk | 1 - 1 file changed, 1 deletion(-) diff --git a/include/rootfs.mk b/include/rootfs.mk index c014b1d14a..dc400a05ed 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.30.2