Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2022 11:30:32 +0100
From:      Julien Cigar <julien@perdition.city>
To:        questions@freebsd.org
Subject:   freebsd-update jail
Message-ID:  <20220128103032.mts7xrgy3k5ghbgo@x1>

next in thread | raw e-mail | index | archive | help

--rjhsrva3mvj5gile
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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


--=20
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.

--rjhsrva3mvj5gile
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmHzxcUACgkQCLYqJMpB
HmlHMQ/+NRiSsGTNiR4Pvb0FWUbtBTJ00jFby8WjPZ1I7n4q32HMpmQQgBv83Ikv
nw3U0ARRVAWQJWsKJcYnD4e13EfOPN+yA4ggodi7Vld36IcFECFP9vAZfCeb5ve3
qz2UztcakifbqXurStIuI7x57gZN2CxJIX/QILVv50DLSPiVxS8x9/U4H1JV2FKQ
Bn0pBshXpdcQW/LzFScGBkmqqn3ONGmQ85/roq664QK7tGn0VNfBab1mj4lQH0MV
iBTv1LClecAYAZEKPvateKcrinH1/v6S0mM8gqHBRzHePjRsrzlM+k/HtB8T6n1R
6PwxN+1uAuQYtQ13UeC2rxFmckHd4bgZaOFT8ov1ULMy/EKkjXlrVR66/WgqfE3g
6T2vRdlK5g5HMtdwX9ET+bfzP2QMkMFSv8lxRGcdoTl1lxEzmaRzhitKgSn7f46U
lUkdLxiF+NZoVENzDv01lqLw1309o/cQuIfPgxASv+YtBFjSKfUqwAVDPnddjsYd
FI/0PCxqvaWGP3ikFivMIgWTM96vZr1h+o47ov1WwSJ51lLkSD9cnJ4iVoZtvdmP
vuNlHSatEKoe1BPPJiAKlN2ez3I/1iub9xj0YeF/flsMixEy6Y8BPJ9J1vMojrtB
KXIqg88IomByRWusy8cbgtfynQxY9P0oH50rINUWJc4PbKZvG8w=
=4fD0
-----END PGP SIGNATURE-----

--rjhsrva3mvj5gile--



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