diff --git a/lib/main_common.pm b/lib/main_common.pm index 5a3e2c240171..268f8aae75a4 100644 --- a/lib/main_common.pm +++ b/lib/main_common.pm @@ -2387,10 +2387,11 @@ sub set_mu_virt_vars { $BUILD =~ /^:(\d+):([^:]+)$/im; die "BUILD value is $BUILD, but does not match required format." if (!$2); - my $_pkg = $2; my $_update_package = ''; - if ($_pkg =~ /qemu|xen|virt-manager|libguestfs|libslirp|open-vm-tools/) { + if ($_pkg =~ /none/) { + $_update_package = ''; + } elsif ($_pkg =~ /qemu|xen|virt-manager|libguestfs|libslirp|open-vm-tools/) { $_update_package = $_pkg; } elsif ($_pkg =~ /libvirt/) { $_update_package = 'libvirt-client';