Page MenuHomeFreeBSD

nanobsd: Add uname/gname to the spec
ClosedPublic

Authored by jlduran on Feb 1 2025, 4:23 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 4, 5:40 AM
Unknown Object (File)
Tue, Mar 31, 6:36 PM
Unknown Object (File)
Fri, Mar 20, 8:55 AM
Unknown Object (File)
Thu, Mar 19, 11:44 PM
Unknown Object (File)
Mon, Mar 16, 6:24 PM
Unknown Object (File)
Sun, Mar 15, 3:11 PM
Unknown Object (File)
Fri, Mar 13, 3:34 AM
Unknown Object (File)
Mar 1 2026, 7:51 AM
Subscribers
None

Details

Summary

Also include the default NanoBSD uname/gname in the specification file.

By default, NANO_DEF_UNAME and NANO_DEF_GNAME map to root and wheel
respectively.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 62192
Build 59076: arc lint + arc unit

Event Timeline

jlduran created this revision.
This revision is now accepted and ready to land.Feb 1 2025, 4:44 AM

I'm not a fan of the wrapping for things like this; IMO it's better to just let it exceed 80 cols, or build up a string to add to the metalog piece by piece, etc.

Address suggestions:

  • Do not wrap strings
This revision now requires review to proceed.Feb 1 2025, 5:28 PM

I'm agnostic on the wrapping... I tend to use a 120ish limit myself, though I know that drives people nuts. Others in the project regularly commit > 80 < 100 lines and have for ~decades. kib is the only one that's still objecting.

This revision is now accepted and ready to land.Feb 1 2025, 5:29 PM
This revision was automatically updated to reflect the committed changes.