Page MenuHomeFreeBSD

heir: Document SYSROOT conventions
ClosedPublic

Authored by imp on Jan 5 2022, 9:56 PM.
Tags
None
Referenced Files
F104984141: D33754.diff
Wed, Dec 11, 8:55 AM
Unknown Object (File)
Wed, Dec 4, 4:57 AM
Unknown Object (File)
Tue, Dec 3, 7:09 PM
Unknown Object (File)
Sun, Dec 1, 9:53 AM
Unknown Object (File)
Wed, Nov 20, 5:27 AM
Unknown Object (File)
Wed, Nov 20, 4:14 AM
Unknown Object (File)
Oct 22 2024, 9:13 AM
Unknown Object (File)
Oct 14 2024, 5:28 PM

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 43738
Build 40626: 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.