X-Git-Url: https://git.tld-linux.org/?p=packages%2Flvm2.git;a=blobdiff_plain;f=lvm2-run-dir.patch;h=38a955348968934bea60a6ec8ca357b51fc13676;hp=f165f21fc548bac7e4a71a1106173cdfa10727e9;hb=HEAD;hpb=939e144870b4728571bad8d29bffd853eb2cdb54 diff --git a/lvm2-run-dir.patch b/lvm2-run-dir.patch index f165f21..38a9553 100644 --- a/lvm2-run-dir.patch +++ b/lvm2-run-dir.patch @@ -1,13 +1,13 @@ -diff -ur LVM2.2.02.179.orig/configure.ac LVM2.2.02.179/configure.ac ---- LVM2.2.02.179.orig/configure.ac 2018-06-18 05:24:22.000000000 +0000 -+++ LVM2.2.02.179/configure.ac 2018-07-11 15:49:58.540700530 +0000 -@@ -643,8 +643,7 @@ +diff -urNpa LVM2.2.03.23.orig/configure.ac LVM2.2.03.23/configure.ac +--- LVM2.2.03.23.orig/configure.ac 2023-12-03 19:58:08.846798150 +0100 ++++ LVM2.2.03.23/configure.ac 2023-12-03 19:58:22.952965549 +0100 +@@ -724,8 +724,7 @@ AC_ARG_WITH(ocfdir, ################################################################################ - AC_MSG_CHECKING(for default run directory) + AC_MSG_CHECKING([for default run directory]) -RUN_DIR="/run" --test -d "/run" || RUN_DIR="/var/run" +-AS_IF([test ! -d "$RUN_DIR"], [RUN_DIR="/var/run"]) +RUN_DIR="/var/run" - AC_MSG_RESULT($RUN_DIR) + AC_MSG_RESULT([$RUN_DIR]) dnl -- Set up pidfile and run directory AH_TEMPLATE(DEFAULT_PID_DIR)