From: Michael Tremer Date: Wed, 15 Jan 2020 15:20:11 +0000 (+0000) Subject: lvm2: Create lock files in /run/lvm X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd5e20120e1fdd49106b3c3847e01c5a3be4aac5;p=people%2Fstevee%2Fipfire-2.x.git lvm2: Create lock files in /run/lvm The default is /var/lock which is not mounted at the time when udev is initialising the volumes. Therefore after a reboot, LVM devices won't show up unless pvscan is executed manually. Signed-off-by: Michael Tremer Signed-off-by: Arne Fitzenreiter --- diff --git a/lfs/lvm2 b/lfs/lvm2 index b95c475176..a9e02b6922 100644 --- a/lfs/lvm2 +++ b/lfs/lvm2 @@ -80,6 +80,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) --with-usrlibdir=/usr/lib \ --enable-pkgconfig \ --with-udevdir=/lib/udev/rules.d \ + --with-default-locking-dir=/run/lvm \ --enable-lvmetad \ --enable-udev_rules \ --enable-udev_sync