Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.

Conversation

@pojntfx
Copy link
Member

@pojntfx pojntfx commented May 29, 2025

Recently, we added the commit hash of the kernel we're building to the kernel EXTRAVERSION; this adjusts the install commands accordingly.

@pojntfx pojntfx self-assigned this May 29, 2025
@pojntfx pojntfx enabled auto-merge (squash) May 29, 2025 21:16
@pojntfx pojntfx disabled auto-merge May 29, 2025 21:16
@pojntfx pojntfx merged commit ed12f9a into main May 29, 2025
52 checks passed
@pojntfx pojntfx deleted the fix-install-commands branch May 29, 2025 21:16
Comment on lines 31 to 32
- grubby --set-default /boot/vmlinuz-6.7.12-pvm-host-fedora-hetzner
- grubby --copy-default --args="pti=off nokaslr lapic=notscdeadline" --update-kernel /boot/vmlinuz-6.7.12-pvm-host-fedora-hetzner
Copy link
Contributor

Choose a reason for hiding this comment

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

The grubby commands still use static paths to kernel files (/boot/vmlinuz-6.7.12-pvm-host-fedora-hetzner) that don't account for the commit hash that's now included in package names. If the actual kernel files in /boot follow the same naming pattern as the packages (with commit hash), these commands will fail to find the kernel files.

Consider updating these paths to use wildcards or a more dynamic approach that matches the actual filenames in /boot. For example:

grubby --set-default /boot/vmlinuz-6.7.12-pvm-host-fedora-hetzner*

This would ensure the commands work correctly with the new naming convention that includes commit hashes.

Suggested change
- grubby --set-default /boot/vmlinuz-6.7.12-pvm-host-fedora-hetzner
- grubby --copy-default --args="pti=off nokaslr lapic=notscdeadline" --update-kernel /boot/vmlinuz-6.7.12-pvm-host-fedora-hetzner
- grubby --set-default /boot/vmlinuz-6.7.12-pvm-host-fedora-hetzner*
- grubby --copy-default --args="pti=off nokaslr lapic=notscdeadline" --update-kernel /boot/vmlinuz-6.7.12-pvm-host-fedora-hetzner*

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants