diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-30 23:23:52 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-30 23:23:52 +0000 |
| commit | 35b102dae60e53a4be06dbe1c5d2950ee862542b (patch) | |
| tree | 8eab291fe25a8b4766eae81ef645da6bcf90acbf /configure | |
| parent | 6fc2d7953120668622f0cb3e4f771084eb77ca4c (diff) | |
| download | s6-rc-35b102dae60e53a4be06dbe1c5d2950ee862542b.tar.gz | |
Finish repo documentation; make bootdb configurable; fix install
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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" |
