Skip to content

Add relevant build metadata to vdb that portage has #1

@ferringb

Description

@ferringb

This is related to restoring VDB metadata parity between pkgcore and portage for a collection of attributes.

  • BUILD_TIME is trivial, and should be threaded through the built object interface. Portage stores int(time.time()) for this.
  • FEATURES; it's as it sounds, env["FEATURES"]
  • REQUIRES: diffball for example, is x86_64: libbz2.so.1 libc.so.6 liblzma.so.5 libm.so.6 libz.so.1
  • BINPKGMD5: presumably, the md5 of whatever binpkg was involved.
  • SIZE: Appears to be a byte count of the pkg contents on disk. Note that the value in VDB doesn't seem to actually match the byte count on disk- it's off by a few bytes. Likely need to investigate if that value is last minute calculated, or if it is taken prior to things like debugsplit being invoked.

Metadata

Metadata

Assignees

No one assigned

    Labels

    vdbrelates to /var/db/pkg , the installed pkgs DB

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions