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

Cole Robinson crobinso at redhat.com
Wed Dec 12 01:14:59 UTC 2012


On 12/11/2012 04:19 PM, Eric Blake wrote:
> On 12/08/2012 08:23 PM, Cole Robinson wrote:
>> Most of this deals with moving the libvirt-guests.sh script which
>> does all the work to /usr/libexec, so it can be shared by both
>> systemd and traditional init. Previously systemd depended on
>> the script being in /etc/init.d
>>
>> Required to fix https://bugzilla.redhat.com/show_bug.cgi?id=789747
>> ---
>> Only change to the big script is dropping the LSB header
>>
>>  .gitignore                      |   1 +
>>  libvirt.spec.in                 |   6 +-
>>  po/POTFILES.in                  |   2 +-
>>  tools/Makefile.am               |  18 +-
>>  tools/libvirt-guests.init.in    |  27 ++
>>  tools/libvirt-guests.init.sh    | 597 ----------------------------------------
>>  tools/libvirt-guests.service.in |   4 +-
>>  tools/libvirt-guests.sh.in      | 573 ++++++++++++++++++++++++++++++++++++++
>>  8 files changed, 620 insertions(+), 608 deletions(-)
>>  create mode 100644 tools/libvirt-guests.init.in
>>  delete mode 100644 tools/libvirt-guests.init.sh
>>  create mode 100644 tools/libvirt-guests.sh.in
>>
> 
> ACK.
> 

Thanks Eric, pushed now.

- Cole




More information about the libvir-list mailing list