SHA256
1
0
forked from pool/tboot

Accepting request 403975 from home:michael-chang:branches:security

- Fix wrong pvops kernel config matching (bsc#981948) 
  * modified tboot-grub2-fix-menu-in-xen-host-server.patch

OBS-URL: https://build.opensuse.org/request/show/403975
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=53
This commit is contained in:
2016-06-27 14:38:34 +00:00
committed by Git OBS Bridge
parent 1b7c64ec4a
commit 8d216762c3
2 changed files with 7 additions and 1 deletions

View File

@@ -67,7 +67,7 @@ Index: tboot-1.9.4/tboot/20_linux_tboot
+
+ if test "$xen_pv_domU" = "false" ; then
+ # prevent xen kernel without pv_opt support from booting
+ if (grep -qx "CONFIG_XEN=y" "${config}" 2> /dev/null && grep -qvx "CONFIG_PARAVIRT=y" "${config}" 2> /dev/null); then
+ if (grep -qx "CONFIG_XEN=y" "${config}" 2> /dev/null && ! grep -qx "CONFIG_PARAVIRT=y" "${config}" 2> /dev/null); then
+ echo "Skip xenlinux kernel $linux" >&2
+ list=`echo $list | tr ' ' '\n' | grep -vx $linux | tr '\n' ' '`
+ continue

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Jun 22 06:37:53 UTC 2016 - mchang@suse.com
- Fix wrong pvops kernel config matching (bsc#981948)
* modified tboot-grub2-fix-menu-in-xen-host-server.patch
-------------------------------------------------------------------
Wed Jun 1 09:29:32 UTC 2016 - meissner@suse.com