forked from pool/systemd
.
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=692
This commit is contained in:
parent
c805279f14
commit
70041adb98
@ -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;
|
||||
+ }
|
||||
+ }
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user