On 30 Mar 2025, at 8:23, Andrew Randrianasulu wrote:

On Sun, Mar 30, 2025 at 9:53 AM Michael van Elst <mlel...@serpens.de> wrote:

The last command fails when the sandbox has no /usr/sbin/certctl binary,
so any attempt to install a netbsd-9 (or older) sandbox fails.

It should be changed to something like:

chroot "${root}" /bin/sh -c "[ ! -x /usr/sbin/certctl ] || /usr/sbin/certctl rehash"

Ah, big thanks, this worked

My mistake, sorry! Thanks for the feedback and the fix, which has been incorporated into sandboxctl-1.1nb3 in pkgsrc-current, requested to be pulled up into the latest stable branch, and submitted upstream.

Reply via email to