ezjail and UPDATING20131010
Dirk Engling
erdgeist at erdgeist.org
Sat Oct 12 08:55:19 UTC 2013
On 12.10.13 07:24, Alexander Leidinger wrote:
> Regarding OS updates (and I assume manual installworld updates in the
> question as freebsd-update is not considered an option) I use:
Well, running freebsd-update on all the jails with IgnorePaths set to
"/[^e][^t][^c].*" does the trick
> ---snip---
> cd /usr/src
> for jail in /path/to/jails/*; do
> echo $jail
> sleep 5
> mergemaster -D $jail
> make DESTDIR=$jail delete-old -DBATCH_DELETE_OLD_FILES
> make DESTDIR=$jail check-old # list old libs
> fi
> make DESTDIR=/path/to/basejail delete-old -DBATCH_DELETE_OLD_FILES
That assumes you have the sources handy which is not always the case.
erdgeist
More information about the freebsd-jail
mailing list