[libvirt] [PATCHv2.5] specfile: fix make rpm when with_driver_modules is 1

Jim Fehlig jfehlig at suse.com
Tue Dec 17 17:45:50 UTC 2013


Laine Stump wrote:
> On 12/16/2013 06:30 PM, Jim Fehlig wrote:
>   
>> BTW, what is the purpose of daemon-config-network? Is it just to provide
>> the %post scriptlet in some update cases, e.g. updating packages from
>> pre to post with_driver_modules?
>>     
>
>
> daemon-config-network is only there to allow a simple choice of
> installing the default network or not. And since the default network is
> necessarily different for each installation (due to different (random)
> uuid and mac address), it isn't installed with %files, but with the
> %post script. Using %post instead of %files also makes it easy to avoid
> overwriting an existing default network config.
>   

Ah, cool - makes sense.  Thanks for the explanation!

Regards,
Jim




More information about the libvir-list mailing list