From baff74836cc9be852b25266b915d243d52be0b6ac1f4f1ec99946f480baff7a3 Mon Sep 17 00:00:00 2001 From: Bruce Rogers Date: Wed, 9 Aug 2017 20:07:29 +0000 Subject: [PATCH] Accepting request 515767 from home:lyan:branches:Virtualization - pre-add group kvm for qemu-tools OBS-URL: https://build.opensuse.org/request/show/515767 OBS-URL: https://build.opensuse.org/package/show/Virtualization/qemu?expand=0&rev=352 --- qemu-testsuite.changes | 5 +++++ qemu-testsuite.spec | 2 ++ qemu.changes | 5 +++++ qemu.spec | 2 ++ qemu.spec.in | 2 ++ 5 files changed, 16 insertions(+) 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