From: Donatas Abraitis Date: Fri, 14 Jun 2024 08:37:23 +0000 (+0300) Subject: docker: Set ABUILD_APK_INDEX_OPTS for libyang X-Git-Tag: docker/9.1.3~39^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=d51ff30b2422f5e2498193fd1f69bcafe02d2436;p=matthieu%2Ffrr.git docker: Set ABUILD_APK_INDEX_OPTS for libyang In build() stage of abuild, it does `apk index ...` where libyang* packages are unsigned. We don't sign them here, and thus we need to specify `--allow-untrusted`. Signed-off-by: Donatas Abraitis --- diff --git a/docker/alpine/libyang/APKBUILD b/docker/alpine/libyang/APKBUILD index 04e943fe48..e903f9a9c2 100755 --- a/docker/alpine/libyang/APKBUILD +++ b/docker/alpine/libyang/APKBUILD @@ -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