From: Paul Spooren Date: Mon, 20 May 2024 15:08:28 +0000 (+0300) Subject: apk: disable rootfs repositories during build X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c1e0f99ef8066b4a5032409b7e81516fed166008;p=openwrt%2Fstaging%2Fneocturne.git apk: disable rootfs repositories during build Since we set the root for APK it tries to use those during the build, which shouldn't happen since local package are used instead. Disable the repositories by manually setting an empty repository. Signed-off-by: Paul Spooren --- diff --git a/include/rootfs.mk b/include/rootfs.mk index c2a32fa102..9fb7d8cfdf 100644 --- a/include/rootfs.mk +++ b/include/rootfs.mk @@ -47,6 +47,7 @@ apk = \ IPKG_INSTROOT=$(1) \ $(FAKEROOT) $(STAGING_DIR_HOST)/bin/apk \ --root $(1) \ + --repositories-file /dev/zero \ --keys-dir $(TOPDIR) \ --no-cache \ --no-logfile \