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)
Sat, Mar 21, 6:40 PM
Unknown Object (File)
Mon, Mar 16, 12:09 PM
Unknown Object (File)
Mon, Mar 16, 8:14 AM
Unknown Object (File)
Mon, Mar 16, 3:43 AM
Unknown Object (File)
Fri, Mar 13, 1:16 PM
Unknown Object (File)
Feb 24 2026, 1:39 AM
Unknown Object (File)
Feb 8 2026, 3:13 PM
Unknown Object (File)
Feb 7 2026, 7:04 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 63429
Build 60313: arc lint + arc unit

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