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)
Thu, Jul 17, 8:57 AM
Unknown Object (File)
Wed, Jul 16, 7:00 AM
Unknown Object (File)
Jul 1 2025, 3:57 AM
Unknown Object (File)
Jun 29 2025, 7:02 AM
Unknown Object (File)
Jun 28 2025, 9:52 PM
Unknown Object (File)
Jun 28 2025, 3:45 PM
Unknown Object (File)
Jun 28 2025, 3:27 PM
Unknown Object (File)
Jun 28 2025, 6:20 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