mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Fix criteria for kernel bootstrapping.
This commit is contained in:
parent
ecf99ab08b
commit
3c817913c7
1 changed files with 3 additions and 3 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue