Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jan 2022 12:07:54 +0100
From:      Julien Cigar <julien@perdition.city>
To:        questions@freebsd.org
Subject:   Re: freebsd-update jail
Message-ID:  <20220128110754.znqx2z2ciw4hi4xo@x1>
In-Reply-To: <20220128103032.mts7xrgy3k5ghbgo@x1>
References:  <20220128103032.mts7xrgy3k5ghbgo@x1>

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

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

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,
>=20
> I was wondering what is the best way to upgrade a jail nowadays?
>=20
> I usually use:
>=20
> $> freebsd-update -b /jails/myjail -d /jails/myjail/var/db/freebsd-update=
/ -f /jails/myjail/etc/freebsd-update.conf -r new-RELEASE --currently-runni=
ng old-RELEASE upgrade
>=20
> 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)
>=20
> so could I used something like:
>=20
> $> freebsd-update -j myjail -r new-RELEASE -d /jails/myjail/var/db/freebs=
d-update/ -f /jails/myjail/etc/freebsd-update.conf upgrade ?
>=20
> (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)
>=20
> Thanks!
>=20
> Julien
>=20
>=20
> --=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.



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

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

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

iQIzBAABCAAdFiEEnF27CBNtOraRNmgqCLYqJMpBHmkFAmHzzoYACgkQCLYqJMpB
HmlhxQ//RwK8hxFUbNZ8lQ1OTasD3p8QvLW8GfbC3g1/Z67/NZU+JslAWbKgYm9x
9vHE757kIu5tIAjMJ2kF67daSA5khMAh4Sm1n70F4sVf/FNfrXNtNDuhvA7IXGHR
TIuB3gqn5bFW1eIZWei+qndNODD83YyuyCBC4Ll6APFk1kHjmCsT2E7+fzIS9uVr
gjqSuOMtyh7JIenTD4LfTgiOiq/fTAbJDHJw+BdiWi/5jA4Z7eIQmL7TylYlgGYV
YSUMyt3HgaUxSGW3F53YOEhEN2eKeaOueroqOuHibb21WgfONkDvoX607paYgjds
YsuTMjr7y6NjdgXl6xOBXhDdt3M1RgS/jNmJ0IoS/yxsHstkff8GpPQF+5BavsUn
R0ofw464CnWnJRSaNoIpVkbhaauzAR1Vn63OlieDvAEOylMTSAwkVR4wL/M92Ly1
GNkbJpZ4XXbp6f1k4lf+Bwwx0Jv5bJ6GYcHLWgAIDqTV3fHcvCtqVIrvGKLFoZN0
9O45IDAiBhKV+egMePagQMsaEv/6y9pdzP5/LVyEL/w5a93SgH8f8AJHGuuaZQC9
/o1lucQCBUWUP3JC1UT+lFSh5h9b8AyWuSXH0EY/v5iCjt8CxNEbCfT65ar4d5WF
Doja7FnAFskBqmoOo7BzhJLM2bmSQiM85zceOQQ+qt/7QI9bUNs=
=d3BC
-----END PGP SIGNATURE-----

--e64lqh763vwxfw7v--



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