Merge pull request #16804 from opensourcerouting/fix/backport_ABUILD_APK_INDEX_OPTS_9.1

9.1 Backport docker ABUILD_APK_INDEX_OPTS
This commit is contained in:
Donald Sharp 2024-09-12 08:22:32 -04:00 committed by GitHub
commit bc98e705fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

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

View File

@ -21,6 +21,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/CESNET/libyang/archive/v$pkg
# - CVE-2021-28906
build() {
export ABUILD_APK_INDEX_OPTS="--allow-untrusted"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi