[openwrt/openwrt] base-files: Remove pkg_check when using apk

LEDE Commits lede-commits at lists.infradead.org
Fri Nov 15 15:14:24 PST 2024


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-24.10:
https://git.openwrt.org/740052e84e4b669dc750d15e0bc75d67fcfc46df

commit 740052e84e4b669dc750d15e0bc75d67fcfc46df
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Thu Nov 7 22:49:21 2024 +0100

    base-files: Remove pkg_check when using apk
    
    /sbin/pkg_check uses opkg and is not even packaged when using the
    default opkg configuration. remove it when using apk too.
    
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
    (cherry picked from commit 0ce237a20cc5168c62afcacb3b47d77a952d64c1)
---
 package/base-files/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 4da50a2736..4bcb4882d7 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -251,6 +251,7 @@ ifneq ($(CONFIG_USE_APK),)
 	$(VERSION_SED_SCRIPT) $(1)/etc/apk/repositories
 
 	rm -f $(1)/etc/uci-defaults/13_fix-group-user
+	rm -f $(1)/sbin/pkg_check
 else
 	$(if $(CONFIG_CLEAN_IPKG),, \
 		mkdir -p $(1)/etc/opkg; \




More information about the lede-commits mailing list