aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-10-30 23:23:52 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2025-10-30 23:23:52 +0000
commit35b102dae60e53a4be06dbe1c5d2950ee862542b (patch)
tree8eab291fe25a8b4766eae81ef645da6bcf90acbf /configure
parent6fc2d7953120668622f0cb3e4f771084eb77ca4c (diff)
downloads6-rc-35b102dae60e53a4be06dbe1c5d2950ee862542b.tar.gz
Finish repo documentation; make bootdb configurable; fix install
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 6 insertions, 2 deletions
diff --git a/configure b/configure
index c929287..c298570 100755
--- a/configure
+++ b/configure
@@ -25,6 +25,7 @@ Fine tuning of the installation directories:
--includedir=DIR C header files [PREFIX/include]
--sysconfdir=DIR global configuration files [PREFIX/etc]
--pkgconfdir=DIR pkg-config .pc files [PREFIX/lib/pkgconfig]
+ --bootdb=PATH default path for the boot database [/etc/s6-rc/compiled/current]
--livedir=DIR default live directory [/run/s6-rc]
--repodir=DIR default repo directory [/var/lib/s6-rc/repository]
@@ -170,6 +171,7 @@ deplibpath=''
vpaths=''
vpathd=''
build=
+bootdb=/etc/s6-rc/compiled/current
livedir=/run/s6-rc
repodir=/var/lib/s6-rc/repository
@@ -209,6 +211,7 @@ for arg ; do
--disable-slashpackage) sproot= ; slashpackage=false ;;
--enable-absolute-paths|--enable-absolute-paths=yes) abspath=true ;;
--disable-absolute-paths|--enable-absolute-paths=no) abspath=false ;;
+ --bootdb=*) bootdb=${arg#*=} ;;
--livedir=*) livedir=${arg#*=} ;;
--repodir=*) repodir=${arg#*=} ;;
@@ -549,8 +552,9 @@ else
fi
echo "#define ${package_macro_name}_LIBEXECPREFIX \"$libexecdir/\""
echo "#define ${package_macro_name}_SYSCONFPREFIX \"$sysconfdir/\""
-echo "#define ${package_macro_name}_LIVE_BASE \"$livedir\""
-echo "#define ${package_macro_name}_REPO_BASE \"$repodir\""
+echo "#define ${package_macro_name}_BOOTDB \"$bootdb\""
+echo "#define ${package_macro_name}_LIVEDIR \"$livedir\""
+echo "#define ${package_macro_name}_REPODIR \"$repodir\""
echo
echo "#endif"