-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Track ZFSBootMenu versions in-image with /etc/os-release #521
Conversation
Detecting if the Makefile is being run from a git checkout and replacing the version in generate-zbm (and subsequently in zbm-release) with a commit SHA would be nice to add in to this as well. |
zfsbootmenu/zbm-release
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe also add:
VERSION_ID
BUILD_ID
(date of image build and maybe git hash if available?)SUPPORT_URL
andBUG_REPORT_URL
?ANSI_COLOR
(maybe something based on the logo)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added BUILD_ID
, SUPPORT_URL
and BUG_REPORT_URL
. I'm not sure VERSION_ID
has any particular meaning, and I don't think we should encourage r/unixporn
snapshots by adding ANSI_COLOR
.
8e2597b
to
b24c58e
Compare
b24c58e
to
39b4411
Compare
I guess this mostly captures my vision for version handling in-repo. Comments welcome. The alternative to committing
|
cd109c2
to
22a3684
Compare
22a3684
to
64cdd81
Compare
Turns out dracut creates its own I've also added some support in the container image and |
Are there any downsides to just including git by default in the build container? Anything we can do to reduce the manual steps would be good. |
Adding |
Once this is merged, |
I still need to test this and make sure build containers do the right thing, but here's the concept.
I'm open to suggestions on the template rendering.