diff --git a/0001-detect-s390-virt.patch b/0001-detect-s390-virt.patch index 7e6f139..3a43711 100644 --- a/0001-detect-s390-virt.patch +++ b/0001-detect-s390-virt.patch @@ -1,8 +1,8 @@ bnc#880438 - systemd-detect-virt doesn't work on System z --- systemd-210/src/shared/virt.c -+++ systemd-210/src/shared/virt.c 2014-06-17 08:03:30.152489353 +0000 -@@ -196,6 +196,29 @@ ++++ systemd-210/src/shared/virt.c 2014-06-26 07:55:30.081608729 +0000 +@@ -196,6 +196,30 @@ } else return r; @@ -20,7 +20,8 @@ bnc#880438 - systemd-detect-virt doesn't work on System z + if (startswith(line, "VM00 Control Program:")) { + if (strstr(line,"z/VM")) + _id = "z/VM"; -+ ++ else if (strstr(line,"KVM/Linux")) ++ _id = "KVM"; + break; + } + } diff --git a/systemd-mini.changes b/systemd-mini.changes index 18b3499..da40a9c 100644 --- a/systemd-mini.changes +++ b/systemd-mini.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 27 08:17:47 UTC 2014 - werner@suse.de + +- Update of patch 0001-detect-s390-virt.patch (bnc#880438) + ------------------------------------------------------------------- Thu Jun 26 10:02:26 UTC 2014 - werner@suse.de diff --git a/systemd.changes b/systemd.changes index 18b3499..da40a9c 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jun 27 08:17:47 UTC 2014 - werner@suse.de + +- Update of patch 0001-detect-s390-virt.patch (bnc#880438) + ------------------------------------------------------------------- Thu Jun 26 10:02:26 UTC 2014 - werner@suse.de