From 58b8c1768c2df1ffc200dad33bab2f5e33bbf4b8 Mon Sep 17 00:00:00 2001 From: fosslinux Date: Tue, 11 Apr 2023 16:36:25 +1000 Subject: [PATCH] Clarify custom kernel logic --- rootfs.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/rootfs.py b/rootfs.py index 9342591f..1321c344 100755 --- a/rootfs.py +++ b/rootfs.py @@ -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.")