lvm2: really disable lvmetad by default.

This commit is contained in:
Juan RP 2015-06-02 08:29:53 +02:00
parent abeb877cca
commit a6ec23b9c9

View file

@ -1,7 +1,7 @@
# Template file for 'lvm2'
pkgname=lvm2
version=2.02.120
revision=2
revision=3
wrksrc=LVM2.${version}
build_style=gnu-configure
configure_args="--disable-selinux --enable-readline --enable-pkgconfig
@ -35,7 +35,7 @@ post_install() {
vinstall ${FILESDIR}/lvmetad.socket 644 usr/lib/systemd/system
vinstall ${FILESDIR}/lvm-on-crypt.service 644 usr/lib/systemd/system
fi
sed -i 's,\(use_lvmetad = 1\),#\1,' ${DESTDIR}/etc/lvm/lvm.conf
sed -i 's,use_lvmetad = 1,use_lvmetad = 0,' ${DESTDIR}/etc/lvm/lvm.conf
vsv lvmetad
}