commit: 3c817913c79e573df75df5cd80c53e91e10d54ba
parent ecf99ab08b09c0da98af8e136c99867d8392f8bd
Author: rick-masters <grick23@gmail.com>
Date: Mon, 3 Apr 2023 18:07:24 +0000
Fix criteria for kernel bootstrapping.
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rootfs.py b/rootfs.py
@@ -34,10 +34,10 @@ def create_configuration_file(args):
config.write("CHROOT_ONLY_SYSA=" + str(args.bwrap) + "\n")
config.write("UPDATE_CHECKSUMS=" + str(args.update_checksums) + "\n")
config.write("DISK=sda1\n")
- if args.chroot or args.kernel:
- config.write("KERNEL_BOOTSTRAP=False\n")
- else:
+ if (args.bare_metal or args.qemu) and not args.kernel:
config.write("KERNEL_BOOTSTRAP=True\n")
+ else:
+ config.write("KERNEL_BOOTSTRAP=False\n")
# pylint: disable=too-many-statements
def main():