summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2013-05-17 19:59:26 +0000
committererdgeist <erdgeist@erdgeist.org>2013-05-17 19:59:26 +0000
commitcf8fbae48188a66cbdae26592d0e7e709ef57af9 (patch)
tree74ec0303fe1c5bf84853d226c8b19a282d1c2da1
parent721ae5e99d0312568af825ba6734d5dc84c7b85f (diff)
Use freebsd-update to update to current patch level before splitting the basejail from newjail
-rwxr-xr-xezjail-admin7
1 files changed, 5 insertions, 2 deletions
diff --git a/ezjail-admin b/ezjail-admin
index 7867c6c..7f8876b 100755
--- a/ezjail-admin
+++ b/ezjail-admin
@@ -1181,8 +1181,11 @@ install)
1181 fi 1181 fi
1182 done 1182 done
1183 1183
1184 # Split basejail and newjail 1184 # Update to current patch level, split basejail and newjail
1185 [ "${ezjail_basesystem}" ] && ezjail_splitworld 1185 if [ "${ezjail_basesystem}" ]; then
1186 freebsd-update -b "${DESTDIR}" fetch install
1187 ezjail_splitworld
1188 fi
1186 1189
1187 # Fill ports, if requested 1190 # Fill ports, if requested
1188 [ "${ezjail_installports}" ] && ezjail_updateports 1191 [ "${ezjail_installports}" ] && ezjail_updateports