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
F173270443: D58959.id184324.diff
Thu, Sep 24, 9:00 PM
F173210242: D58959.diff
Thu, Sep 24, 8:02 AM
F173207450: D58959.id184966.diff
Thu, Sep 24, 7:32 AM
F173204129: D58959.id184752.diff
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
Unknown Object (File)
Thu, Sep 17, 9:29 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 75970
Build 72853: arc lint + arc unit

Event Timeline

tools/tools/nanobsd/defaults.sh
674

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.