summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-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