Page MenuHomeFreeBSD

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

Authored by senguptaangshuman17_gmail.com on Wed, Aug 19, 10:18 AM.
Tags
None
Referenced Files
F171139339: D58956.id184831.diff
Tue, Sep 8, 11:07 PM
F171134455: D58956.id184968.diff
Tue, Sep 8, 10:20 PM
F171114466: D58956.id.diff
Tue, Sep 8, 7:12 PM
F171111315: D58956.id184597.diff
Tue, Sep 8, 6:44 PM
F171110951: D58956.id184831.diff
Tue, Sep 8, 6:39 PM
F171104000: D58956.id184994.diff
Tue, Sep 8, 5:34 PM
F171087814: D58956.id184831.diff
Tue, Sep 8, 3:16 PM
F171043073: D58956.id184321.diff
Tue, Sep 8, 8:58 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 76091
Build 72974: 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.

515

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

587

This change should be done in D58951.

866

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