lvm2: update to 2.02.109; disable lvmetad by default.

This commit is contained in:
Christian Neukirchen 2014-08-07 16:57:52 +02:00
parent 74f3bff017
commit da09ceb607
1 changed files with 2 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'lvm2'
pkgname=lvm2
version=2.02.108
version=2.02.109
revision=1
wrksrc=LVM2.${version}
build_style=gnu-configure
@ -24,7 +24,7 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://sourceware.org/lvm2/"
license="GPL-2, LGPL-2.1"
distfiles="ftp://sources.redhat.com/pub/lvm2/LVM2.${version}.tgz"
checksum=84056902e616fae83eeb4f405e45cec4862c3e73da124af4a1748e1ff071aa66
checksum=7bc95ba5209c8aa5bd492167b2e2797f156852ed11cfc63fb783070ade8e65e7
post_install() {
vinstall ${FILESDIR}/lvm2.tmpfiles 644 usr/lib/tmpfiles.d lvm2.conf
@ -32,11 +32,6 @@ post_install() {
vinstall ${FILESDIR}/lvmetad.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/lvmetad.socket 644 usr/lib/systemd/system
vinstall ${FILESDIR}/lvm-on-crypt.service 644 usr/lib/systemd/system
vmkdir usr/lib/systemd/system/sockets.target.wants
ln -sf /usr/lib/systemd/system/lvmetad.socket \
${DESTDIR}/usr/lib/systemd/system/sockets.target.wants/lvmetad.socket
# enable lvmetad
sed 's|use_lvmetad = 0|use_lvmetad = 1|' -i ${DESTDIR}/etc/lvm/lvm.conf
}
device-mapper-devel_package() {