sys-fs/zfs: update live ebuild
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Fri, 17 May 2019 18:49:17 +0000 (11:49 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Fri, 17 May 2019 21:15:32 +0000 (14:15 -0700)
pass --localstatedir="/var", not /var/lib

otherwise pid files end up in /var/lib/run, which is wrong.
localstatedir is only used to define runstatedir

AC_SUBST([runstatedir], ['${localstatedir}/run'])

the following will change:

zed pid and state file location
(assuming /var/run is a symlink to /run)
/var/lib/run/zed.{pid,state} -> /var/run/zed.{pid,state}

zfs-list.cache.new will be temporary generated there.

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
sys-fs/zfs/zfs-9999.ebuild

index bde2d9e06bc3f953fffd0ca18e47ae7e44095e71..e24458b4194f6b95167fde693b88698caddec6ec 100644 (file)
@@ -120,6 +120,7 @@ src_configure() {
                --bindir="${EPREFIX}/bin"
                --enable-systemd
                --enable-sysvinit
+               --localstatedir="${EPREFIX}/var"
                --sbindir="${EPREFIX}/sbin"
                --with-config=user
                --with-dracutdir="${EPREFIX}/usr/lib/dracut"