commit: 58b8c1768c2df1ffc200dad33bab2f5e33bbf4b8
parent a22c55440c55f0710521c85bf5ce72993ef9ad58
Author: fosslinux <fosslinux@aussies.space>
Date: Tue, 11 Apr 2023 16:36:25 +1000
Clarify custom kernel logic
Diffstat:
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git 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.")