[libvirt] [PATCH] tools: Only install guests init script if --with-init=script=redhat

Cole Robinson crobinso at redhat.com
Sun Oct 21 20:48:08 UTC 2012


On 10/21/2012 07:08 AM, Peter Krempa wrote:
> On 10/21/12 04:49, Cole Robinson wrote:
>> Required to fix https://bugzilla.redhat.com/show_bug.cgi?id=789747
>> ---
>>   libvirt.spec.in   | 5 ++++-
>>   tools/Makefile.am | 4 ++--
>>   2 files changed, 6 insertions(+), 3 deletions(-)
>>
> 
> Unfortunately, the systemd unit file is calling the init scprit as we didn't
> factor out the workhorse part of the script yet, so we need to install the
> init script along with the unit file. An option would be to put the init
> script somewhere else (libexec perhaps?).
> 

Thanks Peter! I should have looked more closely.

I sent a v2 moving the script body to /usr/libexec/libvirt-guests.sh

- Cole




More information about the libvir-list mailing list