HomeFreeBSD

freebsd-update(8): Add -j flag to support jails

Description

freebsd-update(8): Add -j flag to support jails

Make freebsd-update(8) support jails by adding the -j flag which takes
a jail jid or name as an argument. This takes advantage of the recently
added -j support to freebsd-version(8) in order to get the version of
the installed userland.

Reviewed by: dteske, kevans
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D25711

(cherry picked from commit c76da1f01064b2b9a1903b30d4b4c444b85f8724)

Details

Provenance
kfv_kfv.ioAuthored on Oct 1 2021, 6:48 PM
kevansCommitted on Oct 8 2021, 4:27 PM
Reviewer
dteske
Differential Revision
D25711: freebsd-update(8): Add -j flag to support jails
Parents
rG98520e682d0b: freebsd-version(1): Add -j flag to support jails
Branches
Unknown
Tags
Unknown