Skip to content
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

fix(dracut.sh): recognize kernel file in /boot named vmlinux too #2626

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Icenowy
Copy link

@Icenowy Icenowy commented Feb 18, 2024

This pull request adds /boot/vmlinux-${kernelver} to recognized kernel file when trying to detect the output path of the initramfs file, which makes it broken on AOSC OS loongarch64 (but coincidentally worked before /efi mount point detection is implemented).

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

The kernel file, at least in AOSC OS, is named vmlinux instead of
vmlinuz if uncompressed.

Signed-off-by: Icenowy Zheng <uwu@icenowy.me>
@LaszloGombos
Copy link
Collaborator

@Icenowy Seem loongarch64 is still experimental https://wiki.aosc.io/aosc-os/information/arch-support/ ?

Would this impact other distributions that you know of ?

@Icenowy
Copy link
Author

Icenowy commented Apr 1, 2024

The English document is out of sync, sorry... It's already primary architecture at AOSC OS now.

I am not aware of any other distro affected by this, but GRUB recognizes vmlinux (and also kernel), see https://git.savannah.gnu.org/cgit/grub.git/tree/util/grub.d/10_linux.in#n174 .

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.

2 participants