HomeFreeBSD

freebsd-update: Error for -b basedir without UNAME_r set

Description

freebsd-update: Error for -b basedir without UNAME_r set

freebsd-update sets the currently running release from UNAME -r, which
can be overridden via the --currently-running commandline option (or by
setting UNAME_r in the environment). This may be invalid if -b is used
to specify a basedir other than /, so error out if -b is specified
without setting the currently running version.

PR: 283229
Reviewed by: cperciva
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D48016

(cherry picked from commit 097458ac665db732cc91a22279da4cc14f694da2)

Details

Provenance
emasteAuthored on Dec 10 2024, 1:47 PM
Reviewer
cperciva
Differential Revision
D48016: freebsd-update: Error for -b basedir without UNAME_r set
Parents
rG6032b83fa4ea: librdmacm/libibverbs: Add bnxtre RDMA provider to OFED build infrastructure
Branches
Unknown
Tags
Unknown