- use /run for lock dir, /var/run is readonly during early boot and
authorMarcin Krol <hawk@tld-linux.org>
Mon, 30 Mar 2020 18:05:26 +0000 (20:05 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Mon, 30 Mar 2020 18:05:26 +0000 (20:05 +0200)
  prevents isLuks from working which in result prevents disk unlock

cryptsetup.spec

index ba286bdb89f421e0ce20815c8ec92136e3a9bb64..be98d015638a93c5c4b8d8777858ca654846a06e 100644 (file)
@@ -11,7 +11,7 @@ Summary:      LUKS for dm-crypt implemented in cryptsetup
 Summary(pl.UTF-8):     LUKS dla dm-crypta zaimplementowany w cryptsetup
 Name:          cryptsetup
 Version:       2.2.2
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Base
 Source0:       https://www.kernel.org/pub/linux/utils/cryptsetup/v2.2/%{name}-%{version}.tar.xz
@@ -174,7 +174,7 @@ CC="%{__cc}"
        --enable-static \
        --enable-static-cryptsetup \
        --with-crypto-backend=gcrypt \
-       --with-luks2-lock-path=/var/run/%{name}
+       --with-luks2-lock-path=/run/%{name}
 
 %{__make} -C lib