On 10/31/2012 03:21 PM, Viktor Mihajlovski wrote: > Make the post install script for the lock-sanlock package optional > to prevent break on non-x86 platforms. > > Signed-off-by: Viktor Mihajlovski <mihajlov@xxxxxxxxxxxxxxxxxx> > --- > libvirt.spec.in | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/libvirt.spec.in b/libvirt.spec.in > index 41d2628..f8ede3f 100644 > --- a/libvirt.spec.in > +++ b/libvirt.spec.in > @@ -1568,12 +1568,13 @@ fi > /bin/systemctl try-restart libvirt-guests.service >/dev/null 2>&1 || : > %endif > > +%if %{with_sanlock} > %post lock-sanlock > if getent group sanlock > /dev/null ; then > chmod 0770 %{_localstatedir}/lib/libvirt/sanlock > chown root:sanlock %{_localstatedir}/lib/libvirt/sanlock > fi > - > +%endif ACK and pushed. -- Eric Blake eblake@xxxxxxxxxx +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Attachment:
signature.asc
Description: OpenPGP digital signature
-- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list