Make freebsd-update(8) support jails by adding the -j flag which takes jail jid or name as an argument. This requires and depends on D25705 since it uses freebsd-version -j jail to get the version of the installed userland.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 35353 Build 32279: arc lint + arc unit
Event Timeline
Comment Actions
I think we won't progress here if we don't get someone else to review the src parts.
@cperciva: Can you take a look at it?
Comment Actions
Just a simple bogon in the src bits, after which I will approve
usr.sbin/freebsd-update/freebsd-update.sh | ||
---|---|---|
332 | I would use NR instead of FNR here simply because FNR has the additional complexity that it will reset to 1 when working on the next file, but when used to process a pipe stream it is in-essence working on a single file (/dev/stdin) and thus NR and FNR are always aligned making the use of FNR a bit of a bogon |
Comment Actions
However, not essential to change. In thinking further about this, FNR prevents a future change if FNR is indeed necessary.