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
F168016111: D58956.id184994.diff
Tue, Aug 25, 10:36 PM
F167981424: D58956.id184321.diff
Tue, Aug 25, 5:59 PM
F167918738: D58956.id184321.diff
Tue, Aug 25, 10:34 AM
Unknown Object (File)
Tue, Aug 25, 3:13 AM
Unknown Object (File)
Mon, Aug 24, 5:37 PM
Unknown Object (File)
Mon, Aug 24, 5:35 PM
Unknown Object (File)
Mon, Aug 24, 5:31 PM
Unknown Object (File)
Mon, Aug 24, 3:03 PM
Subscribers

Details

Reviewers
jlduran
jrm
ashish
Summary

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

Add metalog_add_data() to append a metalog line for a file or
directory with sensible mode defaults, and use it throughout instead
of hand written entries.

tgt_pkg fetch intermittently fetched only a subset of the packages.
Use tgt_pkg install -F instead, and remove the stale target pkg
database before a clean build.

Fix the pwd_mkdb and cap_mkdb invocations in _xxx_run_pkg_scripts(),
and run certctl rehash to regenerate the trusted cert bundle.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75790
Build 72673: 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.