forked from pool/tboot
- tboot-distributor.patch: don't add GNU/Linux to grub menu entries. SUSE's grub2 itself doesn't do it as well. (bnc#1078262) - perform update of bootloader configuration after installation via %posttrans. (bnc#1078262) OBS-URL: https://build.opensuse.org/request/show/578140 OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=71
27 lines
962 B
Diff
27 lines
962 B
Diff
Index: tboot-1.9.6/tboot/20_linux_tboot
|
|
===================================================================
|
|
--- tboot-1.9.6.orig/tboot/20_linux_tboot
|
|
+++ tboot-1.9.6/tboot/20_linux_tboot
|
|
@@ -72,7 +72,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
|
|
|
|
Index: tboot-1.9.6/tboot/20_linux_xen_tboot
|
|
===================================================================
|
|
--- tboot-1.9.6.orig/tboot/20_linux_xen_tboot
|
|
+++ tboot-1.9.6/tboot/20_linux_xen_tboot
|
|
@@ -63,7 +63,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
|
|
|