pass FreeBSD version to freebsd-update so we can run the upgrade via -K without rebooting into new userland.

This commit is contained in:
Philipp Wuensche 2019-08-14 14:30:08 +02:00
parent aac83f6591
commit a78d3142aa

View File

@ -1207,7 +1207,7 @@ install)
# Update to current patch level, split basejail and newjail
if [ "${ezjail_basesystem}" ]; then
env PAGER=/bin/cat freebsd-update -b "${DESTDIR}" fetch install
env PAGER=/bin/cat freebsd-update -b "${DESTDIR}" --currently-running "${ezjail_release}" fetch install
ezjail_splitworld
fi