From f782f26af11f6d6ddc0074506f410d36409ebeae Mon Sep 17 00:00:00 2001 From: Samuel Holland Date: Thu, 1 Aug 2019 22:23:55 -0500 Subject: system/lvm2: Always use /run for ephemeral state Previously, autodetection on the arm64 builder chose to put lockfiles in /var/lock. This broke running pvscan from a udev rule with read-only / and separate /var. Make this option and related ones always use /run, independent of the build environment. --- system/lvm2/APKBUILD | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'system/lvm2') diff --git a/system/lvm2/APKBUILD b/system/lvm2/APKBUILD index 842dee2fa..fc491a70a 100644 --- a/system/lvm2/APKBUILD +++ b/system/lvm2/APKBUILD @@ -51,6 +51,10 @@ build () { --with-thin=internal \ --enable-dmeventd \ --enable-cmdlib \ + --with-default-dm-run-dir=/run \ + --with-default-locking-dir=/run/lock/lvm \ + --with-default-pid-dir=/run \ + --with-default-run-dir=/run/lvm \ --with-thin-check=/sbin/thin_check \ --with-thin-dump=/sbin/thin_dump \ --with-thin-repair=/sbin/thin_repair \ -- cgit v1.2.3-70-g09d2