Browse Source

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 <[email protected]>
Paul Spooren 1 year ago
parent
commit
c1e0f99ef8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      include/rootfs.mk

+ 1 - 0
include/rootfs.mk

@@ -47,6 +47,7 @@ apk = \
   IPKG_INSTROOT=$(1) \
   IPKG_INSTROOT=$(1) \
   $(FAKEROOT) $(STAGING_DIR_HOST)/bin/apk \
   $(FAKEROOT) $(STAGING_DIR_HOST)/bin/apk \
 	--root $(1) \
 	--root $(1) \
+	--repositories-file /dev/zero \
 	--keys-dir $(TOPDIR) \
 	--keys-dir $(TOPDIR) \
 	--no-cache \
 	--no-cache \
 	--no-logfile \
 	--no-logfile \