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
F167705054: D58956.id184504.diff
Sun, Aug 23, 9:25 PM
F167702015: D58956.id184321.diff
Sun, Aug 23, 9:03 PM
F167687227: D58956.id184321.diff
Sun, Aug 23, 6:59 PM
F167682572: D58956.id184597.diff
Sun, Aug 23, 6:13 PM
F167666372: D58956.diff
Sun, Aug 23, 4:13 PM
F167640992: D58956.id184321.diff
Sun, Aug 23, 10:32 AM
Unknown Object (File)
Sat, Aug 22, 1:01 PM
Unknown Object (File)
Sat, Aug 22, 8:57 AM
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 75833
Build 72716: 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.