Page MenuHomeFreeBSD

nanobsd: Add _xxx_pkg_add_var_db_files_to_metalog
Needs ReviewPublic

Authored by senguptaangshuman17_gmail.com on Thu, Aug 20, 12:22 PM.
Tags
None
Referenced Files
F168284114: D59045.id184964.diff
Thu, Aug 27, 9:51 AM
F168271026: D59045.diff
Thu, Aug 27, 7:40 AM
F168224932: D59045.id184510.diff
Thu, Aug 27, 12:55 AM
F168127822: D59045.diff
Wed, Aug 26, 12:26 PM
Unknown Object (File)
Wed, Aug 26, 6:42 AM
Unknown Object (File)
Mon, Aug 24, 7:04 PM
Unknown Object (File)
Mon, Aug 24, 5:36 PM
Unknown Object (File)
Mon, Aug 24, 4:10 PM
Subscribers

Details

Reviewers
jlduran
jrm
ashish
Summary

pkg(8) does not generate a valid mtree/METALOG manifest for the contents
it creates under /var/db/pkg (see https://github.com/freebsd/pkg/issues/2672),
so those files are missing from NANO_METALOG.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 75839
Build 72722: arc lint + arc unit

Event Timeline

I'm confused with the commit message: "since pkg generates them dynamically and does not emit them into package manifests."

  1. Dynamic generation is intrinsic to pkg.
  2. Perhaps most importantly is why we are doing this. It is because pkg does not generate a valid mtree (METALOG). All these metalog-related _xxx_ issues should point to https://github.com/freebsd/pkg/issues/2672.

Reworded commit message as per suggestion.

Please provide the full URL: https://github.com/freebsd/pkg/issues/2672 in the commit log.

tools/tools/nanobsd/_xxx_includes.subr
224