diff --git a/qemu-testsuite.changes b/qemu-testsuite.changes index 9f5a9ced..8138d3e2 100644 --- a/qemu-testsuite.changes +++ b/qemu-testsuite.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 9 12:54:23 UTC 2017 - lyan@suse.com + +- Pre-add group kvm for qemu-tools (bsc#1011144) + ------------------------------------------------------------------- Mon Aug 7 17:11:59 UTC 2017 - brogers@suse.com diff --git a/qemu-testsuite.spec b/qemu-testsuite.spec index 5aa07c15..58f42cda 100644 --- a/qemu-testsuite.spec +++ b/qemu-testsuite.spec @@ -1373,6 +1373,8 @@ fi %endif %if 0%{?suse_version} >= 1130 +%pre tools +%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm 2>/dev/null %post tools %set_permissions %_libexecdir/qemu-bridge-helper diff --git a/qemu.changes b/qemu.changes index 9f5a9ced..8138d3e2 100644 --- a/qemu.changes +++ b/qemu.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Aug 9 12:54:23 UTC 2017 - lyan@suse.com + +- Pre-add group kvm for qemu-tools (bsc#1011144) + ------------------------------------------------------------------- Mon Aug 7 17:11:59 UTC 2017 - brogers@suse.com diff --git a/qemu.spec b/qemu.spec index 53b1a52b..fab8baab 100644 --- a/qemu.spec +++ b/qemu.spec @@ -1373,6 +1373,8 @@ fi %endif %if 0%{?suse_version} >= 1130 +%pre tools +%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm 2>/dev/null %post tools %set_permissions %_libexecdir/qemu-bridge-helper diff --git a/qemu.spec.in b/qemu.spec.in index 0cb8d743..3d1bdebc 100644 --- a/qemu.spec.in +++ b/qemu.spec.in @@ -1231,6 +1231,8 @@ fi %endif %if 0%{?suse_version} >= 1130 +%pre tools +%{_bindir}/getent group kvm >/dev/null || %{_sbindir}/groupadd -r kvm 2>/dev/null %post tools %set_permissions %_libexecdir/qemu-bridge-helper