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
F167465762: D58956.diff
Fri, Aug 21, 11:13 PM
Unknown Object (File)
Wed, Aug 19, 6:55 PM
Unknown Object (File)
Wed, Aug 19, 11:50 AM
Unknown Object (File)
Wed, Aug 19, 11:48 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 75911
Build 72794: 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.