Переглянути джерело

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 рік тому
батько
коміт
c1e0f99ef8
1 змінених файлів з 1 додано та 0 видалено
  1. 1 0
      include/rootfs.mk

+ 1 - 0
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 \