diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-05-17 11:49:17 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2019-05-17 14:15:32 -0700 |
commit | e021b64de0dc396a0e5fd0c38347a353ac073081 (patch) | |
tree | 34c8c844e2dfd2d48c36f8e13f8a092f87e605e0 /sys-fs/zfs | |
parent | sys-fs/zfs-kmod: update live ebuild (diff) | |
download | gentoo-e021b64de0dc396a0e5fd0c38347a353ac073081.tar.gz gentoo-e021b64de0dc396a0e5fd0c38347a353ac073081.tar.bz2 gentoo-e021b64de0dc396a0e5fd0c38347a353ac073081.zip |
sys-fs/zfs: update live ebuild
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>
Diffstat (limited to 'sys-fs/zfs')
-rw-r--r-- | sys-fs/zfs/zfs-9999.ebuild | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-fs/zfs/zfs-9999.ebuild b/sys-fs/zfs/zfs-9999.ebuild index bde2d9e06bc3..e24458b4194f 100644 --- a/sys-fs/zfs/zfs-9999.ebuild +++ b/sys-fs/zfs/zfs-9999.ebuild @@ -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" |