Skip to content

Commit

Permalink
docker: Set ABUILD_APK_INDEX_OPTS for libyang
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
ton31337 committed Sep 12, 2024
1 parent 6704b38 commit 371f3d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/alpine/libyang/APKBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 371f3d3

Please sign in to comment.