Clarify custom kernel logic

This commit is contained in:
fosslinux 2023-04-11 16:36:25 +10:00
parent a22c55440c
commit 58b8c1768c
1 changed files with 1 additions and 5 deletions

View File

@ -85,7 +85,7 @@ def main():
default="qemu-system-x86_64")
parser.add_argument("-qr", "--qemu-ram", help="Memory (in megabytes) allocated to QEMU VM",
default=4096)
parser.add_argument("-qk", "--kernel", help="Kernel to use (default is ./kernel)")
parser.add_argument("-qk", "--kernel", help="Custom sysa kernel to use")
parser.add_argument("-b", "--bare-metal", help="Build images for bare metal",
action="store_true")
@ -111,10 +111,6 @@ def main():
if check_types() == 0:
raise ValueError("One of qemu, chroot, bwrap, or bare metal must be selected.")
if not args.kernel and os.path.isfile("kernel"):
print("WARNING: Implicit use of a provided kernel is DEPRECATED. Use the --kernel option!")
args.kernel = "kernel"
# Arch validation
if args.arch != "x86":
raise ValueError("Only x86 is supported at the moment.")