Page MenuHomeFreeBSD

release: move installworld before installkernel
ClosedPublic

Authored by emaste on Apr 5 2021, 12:56 AM.

Details

Summary

To support -DNO_ROOT work. The top-level installworld target creates a new METALOG starting with #mtree 2.0 so it needs to be first, to avoid overwriting installkernel METALOG entries.

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

emaste created this revision.
This revision is now accepted and ready to land.Apr 5 2021, 4:42 PM

I'm unsure which commit did it, but at a point near this commit the time taken by release builds drastically decreased. Before this close to 20 hours for an aarch64 cross-build, just over 6 after. Even though I can leave my build machine running, the decrease in latency is very nice. Thank you.