Reduce the libvirt/qemu packages list

- remove qemu-kvm-common from deps

    If it's not needed for CentOS, it's probably not needed for any
    in the redhat family.

- remove qemu-system-<arch>

    qemu-kvm is a meta-package that provides qemu-system-<arch>
    package for native architectures where kvm can be enabled. For
    example, in an x86 system, this will install qemu-system-x86

+ libvirt-daemon-kvm will install

    libvirt-daemon-driver-network
    libvirt-daemon-driver-nodedev
    libvirt-daemon-driver-nwfilter
    libvirt-daemon-driver-qemu
    libvirt-daemon-driver-secret
    libvirt-daemon-driver-storage

    (It requires and will also install the qemu-kvm meta-package,
    so this could be omitted aswell.)

+ libvirt requires/installs these packages

    libvirt-daemon-config-network
    libvirt-daemon-config-nwfilter

    So we can trim these out. (It also requires and will install
    libvirt-client, libvirt-daemon, which could be omitted aswell)

Change-Id: I02ef5fdbdb8c04314556b8e56d57582226a05b08
This commit is contained in:
Erik Berg 2023-07-13 01:22:21 +02:00
parent 90257bd59c
commit 4502eaf83e
No known key found for this signature in database
GPG Key ID: 1182D19B0E5ED030
3 changed files with 2 additions and 11 deletions

View File

@ -9,14 +9,6 @@ required_packages:
- libvirt
- libvirt-client
- libvirt-daemon
- libvirt-daemon-config-network
- libvirt-daemon-config-nwfilter
- libvirt-daemon-driver-network
- libvirt-daemon-driver-nodedev
- libvirt-daemon-driver-nwfilter
- libvirt-daemon-driver-qemu
- libvirt-daemon-driver-secret
- libvirt-daemon-driver-storage
- libvirt-daemon-kvm
- python3-libvirt
- edk2-ovmf

View File

@ -4,11 +4,11 @@ libvirt_service_name: libvirtd
required_packages:
- qemu-img
- qemu-kvm
- qemu-system-x86
- sgabios-bin
- libvirt
- libvirt-client
- libvirt-daemon
- libvirt-daemon-kvm
- python3-libvirt
- python3-libselinux
- edk2-ovmf

View File

@ -6,12 +6,11 @@ required_packages:
- qemu-img
- kernel-tools
- qemu-kvm
- qemu-kvm-common
- qemu-system-x86
- sgabios-bin
- libvirt
- libvirt-client
- libvirt-daemon
- libvirt-daemon-kvm
- python3-libvirt
- libxslt-devel
- libxml2-devel