]> git.puffer.fish Git - matthieu/frr.git/commitdiff
docker: Set ABUILD_APK_INDEX_OPTS for frr build
authorDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 14 Jun 2024 13:33:32 +0000 (16:33 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Thu, 12 Sep 2024 06:51:45 +0000 (09:51 +0300)
In build() stage of abuild, it does `apk index ...` where frr* packages
are unsigned. We don't sign them here, and thus we need to specify `--allow-untrusted`.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
alpine/APKBUILD.in

index 9a29ff3a963613bd1c23920c12941bbe151c5cfe..fcb6cfae10c078def37319b7817c8eb4c6e16e5e 100644 (file)
@@ -34,6 +34,8 @@ _localstatedir=/var/run/frr
 _user=frr
 
 build() {
+       export ABUILD_APK_INDEX_OPTS="--allow-untrusted"
+
        cd "$builddir"
 
        ./configure \