diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-11-09 00:57:58 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-11-09 00:57:58 +0000 |
| commit | f994407328292d9e5788ab81a9fc6afe36091e46 (patch) | |
| tree | f316ff6191f369e4839b4ccc9f7c8b213a2a3554 /configure | |
| parent | 7f6bc9d2ba0e3397c6d23f58a0535f2937548067 (diff) | |
| download | s6-rc-f994407328292d9e5788ab81a9fc6afe36091e46.tar.gz | |
Make default bundle name configurable
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -51,6 +51,7 @@ Optional features: --enable-pkgconfig Build and install .pc files for pkg-config [disabled] --enable-slashpackage[=ROOT] assume /package installation at ROOT [disabled] --enable-absolute-paths hardcode absolute BINDIR/foobar paths in binaries [disabled] + --with-default-bundle=def name of the bundle started at boot [default] EOF exit 0 @@ -174,6 +175,7 @@ build= bootdb=/etc/s6-rc/compiled/current livedir=/run/s6-rc repodir=/var/lib/s6-rc/repository +defaultbundle=default for arg ; do case "$arg" in @@ -214,6 +216,7 @@ for arg ; do --bootdb=*) bootdb=${arg#*=} ;; --livedir=*) livedir=${arg#*=} ;; --repodir=*) repodir=${arg#*=} ;; + --with-default-bundle=*) defaultbundle=${arg#*=} ;; --enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;; --enable-*|--disable-*|--with-*|--without-*|--*dir=*) ;; @@ -555,6 +558,7 @@ echo "#define ${package_macro_name}_SYSCONFPREFIX \"$sysconfdir/\"" echo "#define ${package_macro_name}_BOOTDB \"$bootdb\"" echo "#define ${package_macro_name}_LIVEDIR \"$livedir\"" echo "#define ${package_macro_name}_REPODIR \"$repodir\"" +echo "#define ${package_macro_name}_DEFBUNDLE \"$defaultbundle\"" echo echo "#endif" |
