Skip to content

Commit

Permalink
fix: force LVM to use /run as state directory
Browse files Browse the repository at this point in the history
See siderolabs/talos#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 <[email protected]>
(cherry picked from commit ae205aa)
  • Loading branch information
smira committed Oct 7, 2024
1 parent c663212 commit 480d765
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lvm2/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,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 \
Expand Down

0 comments on commit 480d765

Please sign in to comment.