Page MenuHomeFreeBSD

release: Pass PKG_INSTALL_EPOCH to vmimage.subr
ClosedPublic

Authored by cperciva on Apr 10 2025, 2:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 15, 8:14 PM
Unknown Object (File)
Wed, Oct 8, 4:56 AM
Unknown Object (File)
Tue, Oct 7, 5:41 PM
Unknown Object (File)
Fri, Sep 26, 2:22 PM
Unknown Object (File)
Fri, Sep 26, 1:35 PM
Unknown Object (File)
Thu, Sep 25, 7:50 PM
Unknown Object (File)
Thu, Sep 25, 5:19 PM
Unknown Object (File)
Wed, Sep 24, 3:25 AM
Subscribers

Details

Summary

This value, if not already set, comes from the timestamp of the most
recent git commit (which is now also available in src/release code as
GITEPOCH) or 0 if git is not installed.

This should allow /var/db/pkg/local.sqlite to be reproducible in VM
images which have packages installed (e.g. cloudware).

Sponsored by: Amazon

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Apr 10 2025, 2:57 PM
This revision now requires review to proceed.Apr 10 2025, 3:52 PM
cperciva retitled this revision from release: Pass PKG_DATE_EPOCH to vmimage.subr to release: Pass PKG_INSTALL_EPOCH to vmimage.subr.Apr 10 2025, 3:53 PM
This revision is now accepted and ready to land.Apr 10 2025, 3:54 PM