SHA256
1
0
forked from pool/tboot
Files
tboot/tboot-cs381.patch

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