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:
@@ -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
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user