Page MenuHomeFreeBSD

heir: Document SYSROOT conventions
ClosedPublic

Authored by imp on Jan 5 2022, 9:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 22, 9:13 AM
Unknown Object (File)
Oct 14 2024, 5:28 PM
Unknown Object (File)
Oct 10 2024, 12:48 AM
Unknown Object (File)
Oct 9 2024, 1:27 AM
Unknown Object (File)
Oct 3 2024, 12:26 AM
Unknown Object (File)
Oct 2 2024, 10:38 PM
Unknown Object (File)
Sep 30 2024, 12:28 AM
Unknown Object (File)
Sep 23 2024, 12:38 AM

Details

Summary

Define a place for sysroot trees to live. This assumes they come from
the base in some way, though there's not yet a build/install/etc sysroot
target. Include the FreeBSD version so multiple verrsions can be
installed on one system (it also includes the whole uname version, so
one could, in theory, install variants like CheriBSD or whatever on the
same system as FreeBSD). Use MACHINE.MACHINE_ARCH to be consistent with
the release practices, /usr/obj and other naming conventions.

Sponsored by: Netflix

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 43723
Build 40611: arc lint + arc unit

Event Timeline

imp requested review of this revision.Jan 5 2022, 9:56 PM

This seems viable, but I wonder where we envision the sysroots coming from and if it impacts the location?

share/man/man7/hier.7
570

This seems viable, but I wonder where we envision the sysroots coming from and if it impacts the location?

I'm unsure. I'm thinking that we'll eventually have a top-level make target to create them. That puts them
in /usr/share or /usr/lib somewhere. I'd expect this would be one of the optional packages to install once
we transition to pkgbase. I don't expect to have ports of them in the mean time, but if we did, they'd
land in the analogous /usr/local/share/sysroot/$VERSION/$MACHINE.$MACHINE_ARCH.

English LGTM. Can't attest to the rest.

share/man/man7/hier.7
570

Agree with that suggestion.

address brooks and Pau's concerns...

It seems like with pkgbase you want some sort of magic packages or re-rooted pkg repo support so you can get them from the specific target's pkg repo, but that's for another day.

This revision is now accepted and ready to land.Jan 7 2022, 4:37 PM
This revision was automatically updated to reflect the committed changes.