base-files: Remove pkg_check when using apk
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 7 Nov 2024 21:49:21 +0000 (22:49 +0100)
committerPaul Spooren <mail@aparcar.org>
Sun, 10 Nov 2024 12:20:08 +0000 (13:20 +0100)
/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@hauke-m.de>
package/base-files/Makefile

index 4da50a27362dcea82c0af943c7b53a6123ed1f7e..4bcb4882d733c4a0164f80d2cee5497c57569ebc 100644 (file)
@@ -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; \