diff --git a/hardware/disk/dmraid/files/dmraid-use-modern-run-lock-dir.patch b/hardware/disk/dmraid/files/dmraid-use-modern-run-lock-dir.patch new file mode 100644 index 0000000000..3bea70cf53 --- /dev/null +++ b/hardware/disk/dmraid/files/dmraid-use-modern-run-lock-dir.patch @@ -0,0 +1,12 @@ +diff -up 1.0.0.rc16/lib/locking/locking.c~ 1.0.0.rc16/lib/locking/locking.c +--- 1.0.0.rc16/lib/locking/locking.c~ 2009-09-16 10:55:23.000000000 +0200 ++++ 1.0.0.rc16/lib/locking/locking.c 2020-07-23 13:50:07.613361274 +0200 +@@ -12,7 +12,7 @@ + #include "internal.h" + + /* File locking private data. */ +-static const char *lock_file = "/var/lock/dmraid/.lock"; ++static const char *lock_file = "/run/lock/dmraid.lock"; + static int lf = -1; + + /* flock file. */ diff --git a/hardware/disk/dmraid/pspec.xml b/hardware/disk/dmraid/pspec.xml index cd861980e3..dea2f10ae9 100644 --- a/hardware/disk/dmraid/pspec.xml +++ b/hardware/disk/dmraid/pspec.xml @@ -22,6 +22,7 @@ dmraid-1.0.0_rc16-return-all-sets.patch dmraid-1.0.0_rc16-static-build-fixes.patch dmraid-1.0.0_rc16-undo-p-rename.patch + dmraid-use-modern-run-lock-dir.patch @@ -60,6 +61,13 @@ --> + + 2022-08-19 + 1.0.0_rc16 + Rebuild. + Pisi Linux Community + admin@pisilinux.org + 2020-02-01 1.0.0_rc16