[PATCH v1] virtqemud: remove sysconfig file

Olaf Hering olaf at aepfle.de
Mon Jul 19 12:34:34 UTC 2021


Am Mon, 19 Jul 2021 13:21:39 +0100
schrieb Daniel P. Berrangé <berrange at redhat.com>:

> The challenge i see here is that of managing upgrades to the proposed
> state.

This is as easy as this for each modified file that was marked as %config(noreplace):

%pre
test -f /etc/sysconfig/file.rpmsave && mv -v "$_" "$_".old
%posttrans
test -f /etc/sysconfig/file.rpmsave && mv -v "$_" /etc/sysconfig/file


Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20210719/718988e5/attachment-0001.sig>


More information about the libvir-list mailing list