forked from pool/tboot
- tboot-cs381.patch: generate tboot entries correctly, from Intel. bnc#875581 OBS-URL: https://build.opensuse.org/request/show/232174 OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=32
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
# HG changeset patch
|
|
# User Gang Wei <gang.wei@intel.com>
|
|
# Date 1398749209 -28800
|
|
# Tue Apr 29 13:26:49 2014 +0800
|
|
# Node ID 0883c5da94978917c81e654cabbf734e82a33b23
|
|
# Parent acfeeead17db852d23631a3dd0ec8a29836fce2d
|
|
Fix grub cfg file generation scripts for SLES12
|
|
|
|
Signed-off-by: Gang Wei <gang.wei@intel.com>
|
|
|
|
diff -r acfeeead17db -r 0883c5da9497 tboot/20_linux_tboot
|
|
--- a/tboot/20_linux_tboot Tue Apr 22 14:00:56 2014 +0800
|
|
+++ b/tboot/20_linux_tboot Tue Apr 29 13:26:49 2014 +0800
|
|
@@ -44,11 +44,6 @@
|
|
case ${GRUB_DEVICE} in
|
|
/dev/loop/*|/dev/loop[0-9])
|
|
GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
|
|
- # We can't cope with devices loop-mounted from files here.
|
|
- case ${GRUB_DEVICE} in
|
|
- /dev/*) ;;
|
|
- *) exit 0 ;;
|
|
- esac
|
|
;;
|
|
esac
|
|
|
|
diff -r acfeeead17db -r 0883c5da9497 tboot/20_linux_xen_tboot
|
|
--- a/tboot/20_linux_xen_tboot Tue Apr 22 14:00:56 2014 +0800
|
|
+++ b/tboot/20_linux_xen_tboot Tue Apr 29 13:26:49 2014 +0800
|
|
@@ -44,11 +44,6 @@
|
|
case ${GRUB_DEVICE} in
|
|
/dev/loop/*|/dev/loop[0-9])
|
|
GRUB_DEVICE=`losetup ${GRUB_DEVICE} | sed -e "s/^[^(]*(\([^)]\+\)).*/\1/"`
|
|
- # We can't cope with devices loop-mounted from files here.
|
|
- case ${GRUB_DEVICE} in
|
|
- /dev/*) ;;
|
|
- *) exit 0 ;;
|
|
- esac
|
|
;;
|
|
esac
|
|
|