Skip to content

Include ISO creation date information in GRUB menu entry - #33

Merged
mika merged 1 commit into
masterfrom
mika/dateinfo
Jul 12, 2026
Merged

mika merged 1 commit into
masterfrom
mika/dateinfo

Conversation

@mika

@mika mika commented Jul 12, 2026

Copy link
Copy Markdown
Member

We can also read the creation date of the ISO via isoinfo and include it in the information, so instead of just e.g.:

  grml-small-amd64 2025.12

... we now get:

  grml-small-amd64 2025.12 [20251211]

Closes: #32
Thanks: ebbi2017 for the suggestion and initial patch

We can also read the creation date of the ISO via isoinfo
and include it in the information, so instead of just e.g.:

  grml-small-amd64 2025.12

... we now get:

  grml-small-amd64 2025.12 [20251211]

Closes: #32
Thanks: ebbi2017 for the suggestion and initial patch
@github-actions

Copy link
Copy Markdown

📦 Built packages are ready! Download here.

Comment thread 42_grml
if isoinfo --version >/dev/null 2>&1 ; then
id=$(isoinfo -d -i "${iso}" | grep '^Volume id:' | sed -e 's/^[^:]*: *//')
[ -n "${id}" ] || id=$(isoinfo -d -i "${iso}" | grep '^Application id:' | sed -e 's/^[^:]*: *//')
date=$(isoinfo -debug -d -i "${iso}" 2>/dev/null | awk '/^Creation Date:/ {print $3$4$5}')

@zeha zeha Jul 12, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does this really need -debug?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m(

@mika
mika merged commit 804b0e4 into master Jul 12, 2026
4 checks passed
@mika
mika deleted the mika/dateinfo branch July 12, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Include ISO Creation Date in GRUB menu entry

2 participants