Skip to content

chore: eliminate dependence of initramfs on build date#1923

Merged
HastD merged 2 commits intosecureblue:livefrom
HastD:initramfs-stability
Feb 25, 2026
Merged

chore: eliminate dependence of initramfs on build date#1923
HastD merged 2 commits intosecureblue:livefrom
HastD:initramfs-stability

Conversation

@HastD
Copy link
Copy Markdown
Collaborator

@HastD HastD commented Feb 9, 2026

Dracut incorporates the version numbers from /etc/os-release into the initramfs. This version number includes the build date, resulting in the initramfs unnecessarily changing on a daily basis. (This doesn't make a difference right now, but likely will once coreos/rpm-ostree#5544 is fixed.)

Also some minor cleanup of the rest of the script:

  • Add explanatory comments.
  • Consistently use mktemp for temporary files.
  • Simplify parsing of the kernel version.

Dracut incorporates the version numbers from `/etc/os-release` into the
initramfs. This version number includes the build date, resulting in the
initramfs unnecessarily changing on a daily basis.

Also some minor cleanup of the rest of the script:

* Add explanatory comments.
* Consistently use `mktemp` for temporary files.
* Simplify parsing of the kernel version.
@HastD HastD force-pushed the initramfs-stability branch from bade731 to eda1258 Compare February 25, 2026 14:39
@HastD HastD enabled auto-merge (squash) February 25, 2026 19:46
@HastD HastD merged commit 8496b74 into secureblue:live Feb 25, 2026
16 of 17 checks passed
@HastD HastD removed the Pending CI label Feb 25, 2026
@HastD HastD deleted the initramfs-stability branch February 25, 2026 21:11
PhysicsIsAwesome pushed a commit to PhysicsIsAwesome/secureblue that referenced this pull request Mar 1, 2026
Dracut incorporates the version numbers from `/etc/os-release` into the
initramfs. This version number includes the build date, resulting in the
initramfs unnecessarily changing on a daily basis.

Also some minor cleanup of the rest of the script:

* Add explanatory comments.
* Consistently use `mktemp` for temporary files.
* Simplify parsing of the kernel version.
PhysicsIsAwesome pushed a commit to PhysicsIsAwesome/secureblue that referenced this pull request Mar 1, 2026
Dracut incorporates the version numbers from `/etc/os-release` into the
initramfs. This version number includes the build date, resulting in the
initramfs unnecessarily changing on a daily basis.

Also some minor cleanup of the rest of the script:

* Add explanatory comments.
* Consistently use `mktemp` for temporary files.
* Simplify parsing of the kernel version.
RKNF404 pushed a commit to RKNF404/secureblue that referenced this pull request Mar 1, 2026
Dracut incorporates the version numbers from `/etc/os-release` into the
initramfs. This version number includes the build date, resulting in the
initramfs unnecessarily changing on a daily basis.

Also some minor cleanup of the rest of the script:

* Add explanatory comments.
* Consistently use `mktemp` for temporary files.
* Simplify parsing of the kernel version.
PhysicsIsAwesome pushed a commit to PhysicsIsAwesome/secureblue that referenced this pull request Mar 1, 2026
Dracut incorporates the version numbers from `/etc/os-release` into the
initramfs. This version number includes the build date, resulting in the
initramfs unnecessarily changing on a daily basis.

Also some minor cleanup of the rest of the script:

* Add explanatory comments.
* Consistently use `mktemp` for temporary files.
* Simplify parsing of the kernel version.
PhysicsIsAwesome pushed a commit to PhysicsIsAwesome/secureblue that referenced this pull request Mar 4, 2026
Dracut incorporates the version numbers from `/etc/os-release` into the
initramfs. This version number includes the build date, resulting in the
initramfs unnecessarily changing on a daily basis.

Also some minor cleanup of the rest of the script:

* Add explanatory comments.
* Consistently use `mktemp` for temporary files.
* Simplify parsing of the kernel version.
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.

3 participants