forked from pool/grub2
88507aed88
- Fix build with gcc 4.7 (needs -fno-strict-aliasing for zfs code). - Fix error in installation to extended partition (bnc#750897) - Added BuildRequires for gnu-unifont OBS-URL: https://build.opensuse.org/request/show/110168 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grub2?expand=0&rev=30
23 lines
863 B
Diff
23 lines
863 B
Diff
Index: grub-1.99/util/grub.d/10_linux.in
|
|
===================================================================
|
|
--- grub-1.99.orig/util/grub.d/10_linux.in
|
|
+++ grub-1.99/util/grub.d/10_linux.in
|
|
@@ -31,7 +31,7 @@ CLASS="--class gnu-linux --class gnu --c
|
|
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
|
|
OS=GNU/Linux
|
|
else
|
|
- OS="${GRUB_DISTRIBUTOR} GNU/Linux"
|
|
+ OS="${GRUB_DISTRIBUTOR}"
|
|
CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1) ${CLASS}"
|
|
fi
|
|
|
|
@@ -116,7 +116,7 @@ EOF
|
|
message="$(gettext_printf "Loading Linux %s ..." ${version})"
|
|
cat << EOF
|
|
echo '$message'
|
|
- linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ro ${args}
|
|
+ linux ${rel_dirname}/${basename} root=${linux_root_device_thisversion} ${args}
|
|
EOF
|
|
if test -n "${initrd}" ; then
|
|
message="$(gettext_printf "Loading initial ramdisk ...")"
|