]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Run pre/post-install stuff on 'daemon-driver-storage-core'
authorPeter Krempa <pkrempa@redhat.com>
Wed, 19 Jan 2022 12:41:28 +0000 (13:41 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 19 Jan 2022 16:00:27 +0000 (17:00 +0100)
'daemon-driver-storage' is just a meta-package, the actual daemon is in
the 'daemon-driver-storage-core' package, so without installing the meta
package the storage daemon is not being enabled.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2025644
Fixes: 50eae3f8859, b8ef6255444
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
libvirt.spec.in

index b9f1e309060592dedbbe506f596a2087af444fa1..f0ff4c0eced328a6e0aa7df0d8ab4d673c33d52d 100644 (file)
@@ -1483,19 +1483,19 @@ fi
 %libvirt_daemon_perform_restart virtsecretd
 
 
-%pre daemon-driver-storage
+%pre daemon-driver-storage-core
 %libvirt_sysconfig_pre virtstoraged
 
-%post daemon-driver-storage
+%post daemon-driver-storage-core
 %if %{with_modular_daemons}
 %libvirt_daemon_systemd_post virtstoraged
 %endif
 %libvirt_daemon_schedule_restart virtstoraged
 
-%preun daemon-driver-storage
+%preun daemon-driver-storage-core
 %libvirt_daemon_systemd_preun virtstoraged
 
-%posttrans daemon-driver-storage
+%posttrans daemon-driver-storage-core
 %libvirt_sysconfig_posttrans virtstoraged
 %libvirt_daemon_perform_restart virtstoraged