forked from pool/tboot
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
|
Index: tboot-1.8.0/tboot/20_linux_tboot
|
||
|
===================================================================
|
||
|
--- tboot-1.8.0.orig/tboot/20_linux_tboot
|
||
|
+++ tboot-1.8.0/tboot/20_linux_tboot
|
||
|
@@ -21,8 +21,8 @@ prefix=/usr
|
||
|
exec_prefix=${prefix}
|
||
|
bindir=${exec_prefix}/bin
|
||
|
libdir=${exec_prefix}/lib
|
||
|
-if test -e /usr/share/grub/grub-mkconfig_lib; then
|
||
|
- . /usr/share/grub/grub-mkconfig_lib
|
||
|
+if test -e /usr/share/grub2/grub-mkconfig_lib; then
|
||
|
+ . /usr/share/grub2/grub-mkconfig_lib
|
||
|
elif test -e ${libdir}/grub/grub-mkconfig_lib; then
|
||
|
. ${libdir}/grub/grub-mkconfig_lib
|
||
|
fi
|
||
|
Index: tboot-1.8.0/tboot/20_linux_xen_tboot
|
||
|
===================================================================
|
||
|
--- tboot-1.8.0.orig/tboot/20_linux_xen_tboot
|
||
|
+++ tboot-1.8.0/tboot/20_linux_xen_tboot
|
||
|
@@ -21,8 +21,8 @@ prefix=/usr
|
||
|
exec_prefix=${prefix}
|
||
|
bindir=${exec_prefix}/bin
|
||
|
libdir=${exec_prefix}/lib
|
||
|
-if test -e /usr/share/grub/grub-mkconfig_lib; then
|
||
|
- . /usr/share/grub/grub-mkconfig_lib
|
||
|
+if test -e /usr/share/grub2/grub-mkconfig_lib; then
|
||
|
+ . /usr/share/grub2/grub-mkconfig_lib
|
||
|
elif test -e ${libdir}/grub/grub-mkconfig_lib; then
|
||
|
. ${libdir}/grub/grub-mkconfig_lib
|
||
|
fi
|