From 2e7936d2ebe515440d017e98a47e9871708c8dc11979a07d25684218a29b1672 Mon Sep 17 00:00:00 2001 From: "Dr. Werner Fink" Date: Fri, 27 Jun 2014 08:18:35 +0000 Subject: [PATCH] . OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=692 --- 0001-detect-s390-virt.patch | 7 ++++--- systemd-mini.changes | 5 +++++ systemd.changes | 5 +++++ 3 files changed, 14 insertions(+), 3 deletions(-) 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