From f994407328292d9e5788ab81a9fc6afe36091e46 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 9 Nov 2025 00:57:58 +0000 Subject: Make default bundle name configurable --- configure | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure') diff --git a/configure b/configure index c298570..87bb7dd 100755 --- a/configure +++ b/configure @@ -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" -- cgit v1.3.1