Re: freebsd-update jail
- Reply: Christoph Brinkhaus : "Re: freebsd-update jail"
- In reply to: Julien Cigar : "freebsd-update jail"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 28 Jan 2022 11:07:54 UTC
I was also wondering why does (12.3) freebsd-update creates a new boot environment when updating a jail? On Fri, Jan 28, 2022 at 11:30:32AM +0100, Julien Cigar wrote: > Hello, > > I was wondering what is the best way to upgrade a jail nowadays? > > I usually use: > > $> freebsd-update -b /jails/myjail -d /jails/myjail/var/db/freebsd-update/ -f /jails/myjail/etc/freebsd-update.conf -r new-RELEASE --currently-running old-RELEASE upgrade > > but I was wondering if, with the newly "-j" option, "-b" is still > necessary? (from what I can understand in the source code it is not) > > so could I used something like: > > $> freebsd-update -j myjail -r new-RELEASE -d /jails/myjail/var/db/freebsd-update/ -f /jails/myjail/etc/freebsd-update.conf upgrade ? > > (I usually use -f as the Components aren't the same in the jail as in > the HOST, for example kernel is not installed, nor src) > > Thanks! > > Julien > > > -- > Julien Cigar > Belgian Biodiversity Platform (http://www.biodiversity.be) > PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. -- Julien Cigar Belgian Biodiversity Platform (http://www.biodiversity.be) PGP fingerprint: EEF9 F697 4B68 D275 7B11 6A25 B2BB 3710 A204 23C0 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced.