diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-09-09 14:19:13 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2016-09-09 14:20:21 +0200 |
commit | 304762e02f2eded90b1718303bb164e12024574e (patch) | |
tree | 68cd4f5de564ae33330ebad97f1af4078611a90d /perl-install | |
parent | fc255781e56bbddf3859e8941e4a3e93eee637fa (diff) | |
download | drakx-304762e02f2eded90b1718303bb164e12024574e.tar drakx-304762e02f2eded90b1718303bb164e12024574e.tar.gz drakx-304762e02f2eded90b1718303bb164e12024574e.tar.bz2 drakx-304762e02f2eded90b1718303bb164e12024574e.tar.xz drakx-304762e02f2eded90b1718303bb164e12024574e.zip |
detect ovirt too (mga#19308)
it looks like not all KVM GUIes result in the same result with
systemd-detect-virt
let's handle both cases
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/detect_devices.pm | 2 | ||||
-rw-r--r-- | perl-install/install/NEWS | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 1a68f727d..f5661b4ea 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,4 @@ +- detect ovirt too (mga#19308) - sync nonfree firmware list with kernel-4.7 Version 17.54 - 13 August 2016 diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 8cff4d994..b2a9b03f7 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -1470,7 +1470,7 @@ Are we running under Qemu hypervisor? =cut sub is_qemu() { - virt_technology() eq 'qemu'; + member(virt_technology(), qw(kvm qemu)); } =item is_virtualbox() diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index f60434d7e..e655c0c91 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,4 @@ +- detect ovirt too (mga#19308) - sync nonfree firmware list with kernel-4.7 Version 17.55 - 13 August 2016 |