fix Arch Linux naming FS#33393

This commit is contained in:
Ronald van Haren 2013-01-15 08:14:18 +00:00
parent a53b449156
commit df234e54c9
2 changed files with 4 additions and 2 deletions

View File

@ -202,6 +202,8 @@ package_grub-common() {
# remove platform specific files # remove platform specific files
rm -rf "${pkgdir}/usr/lib/grub/i386-pc/" rm -rf "${pkgdir}/usr/lib/grub/i386-pc/"
# Fix OS naming FS#33393
sed -i 's|GNU/Linux|Linux|' ${pkgdir}/etc/grub.d/10_linux
} }
package_grub-bios() { package_grub-bios() {

View File

@ -78,7 +78,7 @@ set timeout=5
### END /etc/grub.d/00_header ### ### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-ad4103fa-d940-47ca-8506-301d8071d467' { menuentry 'Arch Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-ad4103fa-d940-47ca-8506-301d8071d467' {
load_video load_video
set gfxpayload=keep set gfxpayload=keep
insmod gzio insmod gzio
@ -95,7 +95,7 @@ menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu
echo 'Loading initial ramdisk ...' echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img initrd /boot/initramfs-linux.img
} }
menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-ad4103fa-d940-47ca-8506-301d8071d467' { menuentry 'Arch Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-ad4103fa-d940-47ca-8506-301d8071d467' {
load_video load_video
set gfxpayload=keep set gfxpayload=keep
insmod gzio insmod gzio