From ed02329caae58cc6b291187e26eb159ce7816acf Mon Sep 17 00:00:00 2001 From: Kevin Stolp Date: Thu, 9 Feb 2023 03:33:00 -0800 Subject: [PATCH] Set localstatedir to correct directory This fixes an issue where ZED would write files to /usr/var/run instead of /var/run. --- .SRCINFO | 2 +- PKGBUILD | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 7d69899..3a589e5 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = zfs-utils pkgdesc = Userspace utilities for the Zettabyte File System. pkgver = 2.1.9 - pkgrel = 1 + pkgrel = 2 url = https://zfsonlinux.org/ arch = i686 arch = x86_64 diff --git a/PKGBUILD b/PKGBUILD index 6f856c8..956e5e9 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=zfs-utils pkgver=2.1.9 -pkgrel=1 +pkgrel=2 pkgdesc="Userspace utilities for the Zettabyte File System." arch=("i686" "x86_64" "aarch64") url="https://zfsonlinux.org/" @@ -50,6 +50,7 @@ build() { --with-mounthelperdir=/usr/bin \ --with-udevdir=/usr/lib/udev \ --libexecdir=/usr/lib/zfs \ + --localstatedir=/var \ --with-python="$PWD/python3-fake" \ --enable-pyzfs=no \ --enable-systemd \