Just a curiousity, but today I realized that the
Somewhat tangential,
It's a small use case, granted, but it would be nice to be able to:
pkg(7)
bootstrapper doesn't understand jails:
Code:
pkg -j newjail -N > /dev/null 2>&1 || {
echo "bootstrapping 'pkg' in jail 'newjail'"
pkg -j newjail
}
Somewhat tangential,
pkg(7)
seems to act correctly on the -y
flag, but then claims to not understand it:
Code:
# jexec newjail sh
# pkg -y
Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:14:amd64/latest, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
[newjail.example.edu] Installing pkg-2.0.5...
[newjail.example.ed] Extracting pkg-2.0.5: 100%
pkg: illegal option -- y
pkg: Invalid argument provided
It's a small use case, granted, but it would be nice to be able to:
Code:
pkg -j newjail -N > /dev/null 2>&1 || {
echo "bootstrapping 'pkg' in jail 'newjail'"
pkg -yj newjail
}