summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-fs/lvm2/ChangeLog5
-rw-r--r--sys-fs/lvm2/lvm2-2.02.108.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/sys-fs/lvm2/ChangeLog b/sys-fs/lvm2/ChangeLog
index fdea04dbcda6..a3c801f0af12 100644
--- a/sys-fs/lvm2/ChangeLog
+++ b/sys-fs/lvm2/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/lvm2
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.359 2014/07/30 19:38:03 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/ChangeLog,v 1.360 2014/07/31 18:44:17 ssuominen Exp $
+
+ 31 Jul 2014; Samuli Suominen <ssuominen@gentoo.org> lvm2-2.02.108.ebuild:
+ Use type -P to get path of true instead of hardcoding it.
30 Jul 2014; Samuli Suominen <ssuominen@gentoo.org> lvm2-2.02.108.ebuild:
Punt "&& use lvmetad" typing error (IUSE error)
diff --git a/sys-fs/lvm2/lvm2-2.02.108.ebuild b/sys-fs/lvm2/lvm2-2.02.108.ebuild
index 5016d9da539f..10a35734be17 100644
--- a/sys-fs/lvm2/lvm2-2.02.108.ebuild
+++ b/sys-fs/lvm2/lvm2-2.02.108.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.108.ebuild,v 1.3 2014/07/30 19:38:03 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/lvm2/lvm2-2.02.108.ebuild,v 1.4 2014/07/31 18:44:17 ssuominen Exp $
EAPI=5
inherit autotools eutils linux-info multilib systemd toolchain-funcs udev flag-o-matic
@@ -82,7 +82,7 @@ src_prepare() {
sed -i -e '/use_lvmetad =/s:0:1:' conf/example.conf.in || die #514196
fi
- sed -i -e 's:/usr/bin/true:/bin/true:' scripts/blk_availability_systemd_red_hat.service.in || die #517514
+ sed -i -e "s:/usr/bin/true:$(type -P true):" scripts/blk_availability_systemd_red_hat.service.in || die #517514
# For upstream -- review and forward:
epatch "${FILESDIR}"/${PN}-2.02.63-always-make-static-libdm.patch