From ae205aac9d827783352071f9447f9f7cbf70da20 Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Wed, 2 Oct 2024 15:03:48 +0400 Subject: [PATCH] fix: force LVM to use `/run` as state directory See https://github.com/siderolabs/talos/issues/9365 This allows to break dependency on `/var` availability, and also workaround issue with `/var/run` being persistent on Talos right now (which is going to be fixed as well). Signed-off-by: Andrey Smirnov --- lvm2/pkg.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lvm2/pkg.yaml b/lvm2/pkg.yaml index 4401db03..ce60c091 100644 --- a/lvm2/pkg.yaml +++ b/lvm2/pkg.yaml @@ -26,6 +26,8 @@ steps: export PKG_CONFIG_PATH=/usr/lib/pkgconfig ./configure \ + --with-default-run-dir=/run/lvm \ + --with-default-locking-dir=/run/lock/lvm \ --with-thin=internal \ --with-cache=none \ --disable-udev-systemd-background-jobs \