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
F174719172: D58956.id184456.diff
Mon, Oct 5, 11:27 AM
F174715576: D58956.id184968.diff
Mon, Oct 5, 10:47 AM
F174704927: D58956.id184831.diff
Mon, Oct 5, 8:53 AM
F174696693: D58956.diff
Mon, Oct 5, 7:11 AM
Unknown Object (File)
Sun, Oct 4, 4:48 PM
Unknown Object (File)
Fri, Oct 2, 7:36 AM
Unknown Object (File)
Fri, Oct 2, 7:00 AM
Unknown Object (File)
Thu, Oct 1, 6:22 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