Page MenuHomeFreeBSD

release: Pass PKG_INSTALL_EPOCH to vmimage.subr
ClosedPublic

Authored by cperciva on Thu, Apr 10, 2:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 20, 11:25 PM
Unknown Object (File)
Fri, Apr 18, 10:08 AM
Unknown Object (File)
Thu, Apr 17, 1:12 PM
Unknown Object (File)
Thu, Apr 17, 2:45 AM
Unknown Object (File)
Tue, Apr 15, 2:34 PM
Unknown Object (File)
Mon, Apr 14, 11:21 PM
Unknown Object (File)
Mon, Apr 14, 11:20 PM
Unknown Object (File)
Sat, Apr 12, 11:02 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 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.Thu, Apr 10, 2:57 PM
This revision now requires review to proceed.Thu, Apr 10, 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.Thu, Apr 10, 3:53 PM
This revision is now accepted and ready to land.Thu, Apr 10, 3:54 PM