diff options
| author | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-06-14 11:37:23 +0300 |
|---|---|---|
| committer | Donatas Abraitis <donatas@opensourcerouting.org> | 2024-06-14 11:37:23 +0300 |
| commit | 0314adac4b906ac6c9abcb702f9fd799b89d93f2 (patch) | |
| tree | 33487543f1d7eb13fe02c05c55edcdf5254e74a8 /docker | |
| parent | 2876847d500b7b734fa290e6dc9aa151de9f9a48 (diff) | |
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 <donatas@opensourcerouting.org>
Diffstat (limited to 'docker')
| -rwxr-xr-x | docker/alpine/libyang/APKBUILD | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/alpine/libyang/APKBUILD b/docker/alpine/libyang/APKBUILD index 7979ee1b1e..d8cd4d918a 100755 --- a/docker/alpine/libyang/APKBUILD +++ b/docker/alpine/libyang/APKBUILD @@ -22,6 +22,7 @@ options="!check" # - 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 |
