[openwrt/openwrt] include/rootfs: skip removal of APK cache now deprecated

LEDE Commits lede-commits at lists.infradead.org
Sun May 19 07:13:11 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/f46867e5ccfa87d698bb11c4ecc9f4592890b06e

commit f46867e5ccfa87d698bb11c4ecc9f4592890b06e
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Sun May 19 15:03:27 2024 +0200

    include/rootfs: skip removal of APK cache now deprecated
    
    Skip removal of APK cache since now deprecated as APK doesn't make use
    of cache anymore in our configuration.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 include/rootfs.mk | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/rootfs.mk b/include/rootfs.mk
index 907a95a794..c2a32fa102 100644
--- a/include/rootfs.mk
+++ b/include/rootfs.mk
@@ -111,7 +111,6 @@ define prepare_rootfs
 	)
 
 	@-find $(1) -name CVS -o -name .svn -o -name .git -o -name '.#*' | $(XARGS) rm -rf
-	@-find $(1)/usr/cache/apk/ -name '*.apk' -delete
 	rm -rf \
 		$(1)/boot \
 		$(1)/tmp/* \




More information about the lede-commits mailing list