Page MenuHomeFreeBSD

nanobsd: Use local repository cache for precompiled package base builds
Needs ReviewPublic

Authored by senguptaangshuman17_gmail.com on Aug 19 2026, 10:18 AM.
Tags
None
Referenced Files
F174983685: D58956.id184994.diff
Wed, Oct 7, 9:25 AM
F174902107: D58956.id184597.diff
Tue, Oct 6, 9:04 PM
F174869993: D58956.id184831.diff
Tue, Oct 6, 4:21 PM
F174853805: D58956.id185261.diff
Tue, Oct 6, 1:30 PM
Unknown Object (File)
Tue, Oct 6, 4:35 AM
Unknown Object (File)
Mon, Oct 5, 11:27 AM
Unknown Object (File)
Mon, Oct 5, 10:47 AM
Unknown Object (File)
Mon, Oct 5, 8:53 AM
Subscribers

Details

Reviewers
jlduran
jrm
ashish
Summary

Fetch pkgbase packages into a local repository (FreeBSD-local) before installing. Rewrite _xxx_pkg_metalog() to deduplicate METALOG entries and split target database regeneration into _xxx_run_pkg_scripts().

Add metalog_add_data() to append metalog lines with sensible mode defaults.

Diff Detail

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

Event Timeline

Rename revision, normalize XXXJL comments, restore normalized fingerprints comment

senguptaangshuman17_gmail.com retitled this revision from nanobsd: Fix package base metalog and installation issues to nanobsd: Use local repository cache for precompiled package base builds.
tools/tools/nanobsd/defaults.sh
304

This change should be done in D58950.

370

This change should be done in D58952.

490

This comment change is not related to this commit, I believe it should be done in D58951.

522

This comment change is not related to this commit, I believe it should be done in D58954.

594

This change should be done in D58951.

881–895

This (location) change should be done in D58931. It is a non-functional change (NFC) that just changes the location of the function to keep it together (alphabetically?) with other tgt_ functions.

Clean up pkgbase world list logic and remove duplicate sed fixups