summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-04-23 14:32:47 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-04-23 14:32:47 +0200
commit034540283ee7a0e6e29a20687f6e97121330df70 (patch)
tree3b616c21dd3d830197c158108e8389bb1f228851
parent8de9dced1b230c5ebda93413748d9f5f694af8d4 (diff)
downloaddrakx-034540283ee7a0e6e29a20687f6e97121330df70.tar
drakx-034540283ee7a0e6e29a20687f6e97121330df70.tar.gz
drakx-034540283ee7a0e6e29a20687f6e97121330df70.tar.bz2
drakx-034540283ee7a0e6e29a20687f6e97121330df70.tar.xz
drakx-034540283ee7a0e6e29a20687f6e97121330df70.zip
add 'qemu' flag for rpmsrate
-rw-r--r--perl-install/detect_devices.pm11
-rw-r--r--perl-install/install/NEWS1
2 files changed, 12 insertions, 0 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index e77a57479..770cbbdde 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -1481,6 +1481,16 @@ sub is_hyperv() {
virt_technology() eq 'microsoft';
}
+=item is_qemu()
+
+Are we running under Qemu hypervisor?
+
+=cut
+
+sub is_qemu() {
+ virt_technology() eq 'microsoft';
+}
+
=item is_virtualbox()
Are we running under VirtualBox hypervisor?
@@ -1560,6 +1570,7 @@ sub matching_types() {
mips_st_ls2f => is_mips_st_ls2f(),
numpa => hasNumpad(),
touchpad => hasTouchpad(),
+ qemu => is_qemu(),
virtualbox => is_virtualbox(),
vmware => is_vmware(),
wireless => to_bool(get_wireless_interface() || probe_category('network/wireless')),
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 5e728b644..0798fbd55 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,4 @@
+- add 'qemu' flag for rpmsrate
- exclude 2 Xorg libraries on ARM
Version 17.26.1 - 8 April 2016