[openwrt/openwrt] apk: disable rootfs repositories during build
LEDE Commits
lede-commits at lists.infradead.org
Mon May 20 09:35:17 PDT 2024
aparcar pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c1e0f99ef8066b4a5032409b7e81516fed166008
commit c1e0f99ef8066b4a5032409b7e81516fed166008
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Mon May 20 18:08:28 2024 +0300
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 <mail at aparcar.org>
---
include/rootfs.mk | 1 +
1 file changed, 1 insertion(+)
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 \
More information about the lede-commits
mailing list