Skip to content

Commit

Permalink
Integrate configurator with rootfs.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fosslinux committed May 26, 2024
1 parent d012821 commit 6e955e5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rootfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 6e955e5

Please sign in to comment.