Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2013 10:55:15 +0200
From:      Dirk Engling <erdgeist@erdgeist.org>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: ezjail and UPDATING20131010
Message-ID:  <52590E73.8070305@erdgeist.org>
In-Reply-To: <20131012072414.000058ea@unknown>
References:  <20131011170340.47C726018E@smtp.hushmail.com> <1381512663.13242.32914813.65C2C03E@webmail.messagingengine.com> <1381513083.390908110.b6zxrgl9@frv34.ukr.net> <5258412F.7040301@erdgeist.org> <1381516978.924807986.pfyyx7nl@frv34.ukr.net> <52584CD1.8020707@erdgeist.org> <1381519020.168298097.2gv7zpen@frv34.ukr.net> <525851CE.6010808@erdgeist.org> <1381524131.18383.32977989.102BAA48@webmail.messagingengine.com> <20131012072414.000058ea@unknown>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52590E73.8070305>