From 6e955e5479e840a759b82aa3c89b4a0feb79aa20 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Sun, 26 May 2024 20:42:29 +1000 Subject: [PATCH] Integrate configurator with rootfs.py --- rootfs.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rootfs.py b/rootfs.py index c1702cfa..1cfeab94 100755 --- a/rootfs.py +++ b/rootfs.py @@ -49,6 +49,7 @@ def create_configuration_file(args): config.write("DISK=sda1\n") config.write("KERNEL_BOOTSTRAP=False\n") config.write(f"BUILD_KERNELS={args.update_checksums or args.build_kernels}\n") + config.write(f"CONFIGURATOR={args.configurator}\n") # pylint: disable=too-many-statements,too-many-branches def main(): @@ -90,6 +91,9 @@ def main(): parser.add_argument("-i", "--interactive", help="Use interactive prompts to resolve issues during bootstrap", action="store_true") + parser.add_argument("--configurator", + help="Run the interactive configurator", + action="store_true") parser.add_argument("-r", "--repo", help="Path to prebuilt binary packages", nargs=None) parser.add_argument("--early-preseed",