Forráskód Böngészése

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 éve
szülő
commit
c1e0f99ef8
1 módosított fájl, 1 hozzáadás és 0 törlés
  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 \