summaryrefslogtreecommitdiffhomepage
path: root/configure
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-04-22 20:59:38 +0200
committerAlejandro Colomar <alx@kernel.org>2024-06-18 22:59:45 +0200
commit2e2e5d1e8e862c5d55cda0035eef90c5b6596112 (patch)
treec3b099b511d3ed7cafdca21bda9ce527022f25fb /configure
parenteca38349cb25ccae89acf3a0dc4dfd9a6ca8770c (diff)
downloadunit-2e2e5d1e8e862c5d55cda0035eef90c5b6596112.tar.gz
unit-2e2e5d1e8e862c5d55cda0035eef90c5b6596112.tar.bz2
auto: Don't install $runstatedir
This directory should exist already in the system, and if not, it should (and will) be created at run time, not at install time. It triggered a warning in Alpine Linux's packaging system: ERROR: unit*: Packages must not put anything under /var/run Fixes: 5a37171f733f ("Added default values for pathnames.") Fixes: 57fc9201cb91 ("Socket: Created control socket & pid file directories.") Closes: <https://github.com/nginx/unit/issues/742> Reported-by: Andy Postnikov <apostnikov@gmail.com> Tested-by: Andy Postnikov <apostnikov@gmail.com> Tested-by: Andrew Clayton <a.clayton@nginx.com> Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Cc: Liam Crilly <liam@nginx.com> Cc: Konstantin Pavlov <thresh@nginx.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to '')
-rwxr-xr-xconfigure1
1 files changed, 0 insertions, 1 deletions
diff --git a/configure b/configure
index 50eca39f..4ad0dcdc 100755
--- a/configure
+++ b/configure
@@ -68,7 +68,6 @@ mkdir -p $NXT_BUILD_DIR/src
mkdir -p $NXT_BUILD_DIR/src/test
mkdir -p $NXT_BUILD_DIR/var/lib/unit
mkdir -p $NXT_BUILD_DIR/var/log/unit
-mkdir -p $NXT_BUILD_DIR/var/run/unit
> $NXT_AUTOCONF_ERR