Page MenuHomeFreeBSD

release: Always use NO_ROOT for distribute* and package*
ClosedPublic

Authored by emaste on Dec 12 2024, 2:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 9, 1:03 PM
Unknown Object (File)
Fri, Dec 20, 11:28 PM
Unknown Object (File)
Fri, Dec 20, 7:10 AM
Unknown Object (File)
Sat, Dec 14, 8:01 PM
Unknown Object (File)
Dec 13 2024, 5:20 PM
Unknown Object (File)
Dec 12 2024, 8:40 PM
Subscribers

Details

Summary

We used to have two different code paths for generating release media dist sets, one which required running as root, and one which did not. It was possible that the two different paths could generate different results.

We can use the path that does not *require* root even if running as root, so use it always. We'll want to do similar for all release targets, but these ones are an easy place to start.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable