Page MenuHomeFreeBSD

nanobsd: Disable pkg repositories on target image
AbandonedPublic

Authored by senguptaangshuman17_gmail.com on Aug 19 2026, 10:19 AM.
Tags
None
Referenced Files
F175118657: D58959.id184459.diff
Thu, Oct 8, 9:44 AM
F175035882: D58959.id184996.diff
Wed, Oct 7, 7:31 PM
Unknown Object (File)
Wed, Oct 7, 6:24 AM
Unknown Object (File)
Tue, Oct 6, 3:07 PM
Unknown Object (File)
Tue, Oct 6, 12:24 PM
Unknown Object (File)
Tue, Oct 6, 11:24 AM
Unknown Object (File)
Mon, Oct 5, 10:30 AM
Unknown Object (File)
Mon, Oct 5, 9:42 AM
Subscribers

Details

Reviewers
jlduran
jrm
ashish
Summary

Ship images with every pkg repository disabled in FreeBSD.conf,
preventing pkg from attempting operations that are not allowed
on a read-only root.

Diff Detail

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

Event Timeline

tools/tools/nanobsd/defaults.sh
624

XXXJL comments should be avoided. Those should either be removed or "promoted" to XXX comments.

Address review comments: normalize comment

Clean up merge conflict markers in defaults.sh

I think this commit can be squashed with D58951, I see no reason to keep this in a separate commit.