From 61a0e53819b7ea6edd910a5d91872e4a0f9a37a6 Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Fri, 14 Aug 2026 19:07:30 +0300 Subject: [PATCH] prepare NetBSD package directories --- kbuildx/scripts/netbsd-deps.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kbuildx/scripts/netbsd-deps.sh b/kbuildx/scripts/netbsd-deps.sh index 70e3276..847ee5d 100755 --- a/kbuildx/scripts/netbsd-deps.sh +++ b/kbuildx/scripts/netbsd-deps.sh @@ -32,6 +32,9 @@ if ! command -v pkgin >/dev/null 2>&1; then pkg_add pkgin fi mkdir -p /usr/pkg/etc/pkgin +# The minimal NetBSD image omits empty manpage directories that package +# post-install scripts expect to exist. +mkdir -p /usr/pkg/man/man1 /usr/pkg/man/man3 /usr/pkg/man/man5 /usr/pkg/man/man7 export PKG_PATH="$package_path" printf '%s\n' "$package_path" > /usr/pkg/etc/pkgin/repositories.conf pkgin -y update -- 2.51.2