From 0f3d1f00e6b79bfe27ccf6cd072910bbd5795212 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Fri, 14 Aug 2026 22:49:23 +0300 Subject: [PATCH] install NetBSD root certificates --- kbuildx/scripts/netbsd-deps.sh | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/kbuildx/scripts/netbsd-deps.sh b/kbuildx/scripts/netbsd-deps.sh index 53348d3..f253ba9 100755 --- a/kbuildx/scripts/netbsd-deps.sh +++ b/kbuildx/scripts/netbsd-deps.sh @@ -62,6 +62,12 @@ printf '%s\n' "$package_path" > /usr/pkg/etc/pkgin/repositories.conf ls -ld /usr /usr/pkg /usr/pkg/lib mkdir -p /usr/pkg/lib/perl5/5.42.0/TAP/Formatter /usr/pkg/bin /usr/pkg/sbin /usr/pkg/etc -pkgin -y update -pkgin -y install git || cat /var/db/pkgin/pkg_install-err.log +export ASSUME_ALWAYS_YES=yes +pkgin update +pkgin install git mozilla-rootcerts-openssl || cat /var/db/pkgin/pkg_install-err.log +if command -v mozilla-rootcerts >/dev/null 2>&1; then + mozilla-rootcerts install +elif [ -x /usr/pkg/sbin/mozilla-rootcerts ]; then + /usr/pkg/sbin/mozilla-rootcerts install +fi git --version -- 2.51.2