From 696c6325a3a70b8160d064473bd12421cc4da186 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 6 Mar 2018 08:49:14 +0100 Subject: [PATCH] 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 --- 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