FS#38223 - [grub] 10_archlinux generates wrong initramfs path
Attached to Project:
Arch Linux
Opened by wtf (oi_wtf) - Saturday, 21 December 2013, 22:43 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 11 January 2014, 10:20 GMT
Opened by wtf (oi_wtf) - Saturday, 21 December 2013, 22:43 GMT
Last edited by Tobias Powalowski (tpowa) - Saturday, 11 January 2014, 10:20 GMT
|
Details
Description:
10_archlinux generates wrong initramfs path Additional info: grub 2.02-beta1-1 Steps to reproduce: - grub-mkconfig -o /boot/grub/grub.cfg with mentioned grup package installed generates the following lines: echo 'Loading Arch Linux pkg-linux kernel initramfs ...' initrd /initramfs-linux.img instead of echo 'Loading Arch Linux pkg-linux kernel initramfs ...' initrd /boot/initramfs-linux.img I think using ${subdir} instead of ${SUBDIR} in /etc/grub.d/10_archlinux is causing this... (lines 91 and 117) |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Saturday, 11 January 2014, 10:20 GMT
Reason for closing: Fixed
Additional comments about closing: 2.02-beta2
Saturday, 11 January 2014, 10:20 GMT
Reason for closing: Fixed
Additional comments about closing: 2.02-beta2
And I also noticed it didn't create as much entries for architectures as the original 10_archlinux.
Only x86 and x86_64-xen.
Anyway, i dropped your script into /etc/grub.d as 10_archlinux_grub-git, called grub-mkconfig and it seems it creates correct menuentries.
I'm attaching the file, so everyone can see. I removed some parts though, mostly the duplicate entries for the different architectures.
They're just bloat.
a locally working fix includes sed -i 's/\${subdir}/${SUBDIR}/' 10_archlinux