Introduced -i option to ezjail-admin update

This commit is contained in:
erdgeist 2005-09-20 22:34:11 +00:00
parent 853963f7d1
commit 03b4acbce2

View File

@ -17,7 +17,7 @@ ezjail-admin \- Administrate ezjail
.T .T
.B ezjail-admin update .B ezjail-admin update
[-s sourcetree] [-s sourcetree] [-i]
.SH DESCRIPTION .SH DESCRIPTION
The The
.B ezjail-admin .B ezjail-admin
@ -59,14 +59,24 @@ root entry is removed as well as the soft link, if necessary.
lists all jails inside ezjails scope, together with some information on lists all jails inside ezjails scope, together with some information on
them. them.
.SH ezjail-admin update .SH ezjail-admin update
tries to build and install a FreeBSD system from the source tree either installs a FreeBSD system from the source tree to a location either
specified in the ezjail.conf config file or via the -s option. Build provided in the
destination is a temporary directory inside ezjails jail root. .B ezjail.conf
config file or via the -s option.
Install destination is a temporary directory inside ezjails jail root. If
the -i (install only) option is given,
.B ezjail-admin update
only performes a
.I make installworld,
otherwise
.I make world
is invoked.
It then fills the basejail from that temporary directory (leaving intact It then fills the basejail from that temporary directory (leaving intact
all installed libraries, if the base jail already existed). All copied all installed libraries, if the base jail already existed). All
directories are removed and replaced by soft links to what later is directories copied are removed and replaced by soft links into the
mounted into the jail. base jail tree that later will be mounted into the jail.
Finally it removes the old template jail and renames the Finally it removes the old template jail and renames the
temporary directory as the new template jail. temporary directory as the new template jail.