Remove qemu-common as a dep from qemu-user-static
qemu-common has a dep on python, and has nothing that is critical for the operation of the userspace emulators. At most the qemu-trace-stap tool is useful, but we shouldn't force install of qemu-common just for that. qemu-user-static needs to be lightweight as its used to support cross-arch execution in scenarios where container/image size matters. In dropping qemu-common as a dep, we just need to ensure we still have the license files present. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
7a2cfc0dc9
commit
01be77e650
@ -930,7 +930,6 @@ This package provides the user mode emulation of qemu targets
|
||||
%if %{user_static}
|
||||
%package user-static
|
||||
Summary: QEMU user mode emulation of qemu targets static build
|
||||
Requires: %{name}-common = %{epoch}:%{version}-%{release}
|
||||
Requires(post): systemd-units
|
||||
Requires(postun): systemd-units
|
||||
# qemu-user-binfmt + qemu-user-static both provide binfmt rules
|
||||
@ -2127,6 +2126,7 @@ useradd -r -u 107 -g qemu -G kvm -d / -s /sbin/nologin \
|
||||
|
||||
%if %{user_static}
|
||||
%files user-static
|
||||
%license COPYING COPYING.LIB LICENSE
|
||||
# Just use wildcard matches here: we will catch any new/missing files
|
||||
# in the qemu-user filelists
|
||||
%{_exec_prefix}/lib/binfmt.d/qemu-*-static.conf
|
||||
|
Loading…
Reference in New Issue
Block a user