Page MenuHomeFreeBSD

stand allow for local.defs.mk
ClosedPublic

Authored by sjg on May 22 2025, 9:40 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 16, 6:12 AM
Unknown Object (File)
Tue, Jul 15, 11:51 PM
Unknown Object (File)
Tue, Jul 15, 3:06 PM
Unknown Object (File)
Tue, Jul 15, 9:10 AM
Unknown Object (File)
Mon, Jul 14, 1:38 PM
Unknown Object (File)
Sun, Jul 13, 8:26 PM
Unknown Object (File)
Sun, Jul 13, 4:18 AM
Unknown Object (File)
Sat, Jul 12, 11:52 PM
Subscribers

Details

Summary

This allows us to change the VERSION_FILE used for loaders
as well as set NEWVERS_DATE and BUILD_UTC to reflect the publish
date of loaders for secure-boot.

Sponsored by: Juniper Networks, Inc.

Diff Detail

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

Event Timeline

sjg requested review of this revision.May 22 2025, 9:40 PM

So except maybe for the newvers.sh issue I flagged, this is good.

stand/common/newvers.sh
53

Any reason you can't use SOURCE_DATE_EPOCH here? It seems to be the same feature with a different name...

This revision is now accepted and ready to land.May 22 2025, 9:49 PM
sjg marked an inline comment as done.May 22 2025, 10:46 PM
sjg added inline comments.
stand/common/newvers.sh
53

SOURCE_DATE_EPOCH is a timestamp - we want to control the format as well
so it is easier for customers and support folk to recognize that the date reported by the loader matches a publish date - fwiw we use "%Y%m%d %H%M%S",

This revision was automatically updated to reflect the committed changes.
sjg marked an inline comment as done.