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
F173294703: D58959.id184809.diff
Fri, Sep 25, 1:52 AM
F173270443: D58959.id184324.diff
Thu, Sep 24, 9:00 PM
Unknown Object (File)
Thu, Sep 24, 8:02 AM
Unknown Object (File)
Thu, Sep 24, 7:32 AM
Unknown Object (File)
Thu, Sep 24, 7:01 AM
Unknown Object (File)
Wed, Sep 23, 8:20 AM
Unknown Object (File)
Sun, Sep 20, 1:16 PM
Unknown Object (File)
Sat, Sep 19, 5:06 PM
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 75913
Build 72796: arc lint + arc unit

Event Timeline

tools/tools/nanobsd/defaults.sh
677

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.