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
F167666383: D59045.diff
Sun, Aug 23, 4:13 PM
Unknown Object (File)
Sat, Aug 22, 8:37 AM
Unknown Object (File)
Thu, Aug 20, 11:25 PM
Unknown Object (File)
Thu, Aug 20, 6:35 PM
Unknown Object (File)
Thu, Aug 20, 2:58 PM
Subscribers

Details

Reviewers
jlduran
jrm
ashish
Summary

Add /var/db/pkg files to NANO_METALOG since pkg generates them dynamically
and does not emit them into package manifests.

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.