Page MenuHomeFreeBSD

release: Use in-tree etcupdate for build
ClosedPublic

Authored by jrtc27 on Jul 19 2022, 6:18 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 22, 8:26 PM
Unknown Object (File)
Jan 12 2024, 6:55 AM
Unknown Object (File)
Jan 5 2024, 10:00 PM
Unknown Object (File)
Jan 5 2024, 9:57 PM
Unknown Object (File)
Jan 5 2024, 9:12 PM
Unknown Object (File)
Jan 3 2024, 6:42 PM
Unknown Object (File)
Dec 23 2023, 1:09 AM
Unknown Object (File)
Dec 7 2023, 1:06 PM
Subscribers

Details

Summary

This is in preparation for non-FreeBSD and -DNO_ROOT builds. On
non-FreeBSD there is no host etcupdate to use, and -DNO_ROOT will
require additional flags that may not be supported by the host's
etcupdate when building on FreeBSD. Moreover, there's no guarantee
anyway that the host's etcupdate is quite right for the current tree;
upgrading from source only requires that the host's is good enough for
-p which just manually copies master.passwd and group, the rest of the
upgrade is done post-installworld. For example, should a new set of
autogenerated files be added that etcupdate is taught about, the host
won't know about them and so the bootstrapped current tree will
incorrectly contain them, leading to spurious diffs on the installed
system.

Obtained from: CheriBSD

Diff Detail

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