diff options
author | Philipp Wuensche <cryx-freebsd@h3q.com> | 2019-08-14 14:30:08 +0200 |
---|---|---|
committer | Philipp Wuensche <cryx-freebsd@h3q.com> | 2019-08-14 14:30:08 +0200 |
commit | a78d3142aae2e7364240cd25bca7e4018b223ece (patch) | |
tree | bd91c0615d41f2e6cc2d797411468156b5d6ac54 | |
parent | aac83f659118689e773949aa139336a72b7c0546 (diff) |
pass FreeBSD version to freebsd-update so we can run the upgrade via -K without rebooting into new userland.
-rwxr-xr-x | ezjail-admin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ezjail-admin b/ezjail-admin index a58eece..7396b28 100755 --- a/ezjail-admin +++ b/ezjail-admin | |||
@@ -1207,7 +1207,7 @@ install) | |||
1207 | 1207 | ||
1208 | # Update to current patch level, split basejail and newjail | 1208 | # Update to current patch level, split basejail and newjail |
1209 | if [ "${ezjail_basesystem}" ]; then | 1209 | if [ "${ezjail_basesystem}" ]; then |
1210 | env PAGER=/bin/cat freebsd-update -b "${DESTDIR}" fetch install | 1210 | env PAGER=/bin/cat freebsd-update -b "${DESTDIR}" --currently-running "${ezjail_release}" fetch install |
1211 | ezjail_splitworld | 1211 | ezjail_splitworld |
1212 | fi | 1212 | fi |
1213 | 1213 | ||