From 0a6efea4c00b83fc1d899c0dc868f05308edd26d Mon Sep 17 00:00:00 2001 From: Jochen Sprickerhof Date: Sun, 15 Jan 2023 18:20:51 +0100 Subject: Document additional kernel link names Reported-by: Helmut Grohne --- README.md | 2 +- bin/debvm-run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6f042d7..870e26d 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ contains the root filesystem of a (Debian) installation including an init system and a kernel. There is no partition table or bootloader. The following paths are assumed inside: * `/bin/true` is used to detect the architecture of an image - * `/vmlinuz` or `/vmlinux` (depending on the architecture) must be a symbolic + * `(|/boot)/vmlinu[xz]` (depending on the architecture) must be a symbolic link pointing to a regular file containing the kernel. * `/initrd.img` must be a symbolic link pointing to a regular file containing the initrd image. diff --git a/bin/debvm-run b/bin/debvm-run index 5740a02..65eb65c 100755 --- a/bin/debvm-run +++ b/bin/debvm-run @@ -16,7 +16,7 @@ B [B<-g>] [B<-i> F] [B<-s> I] [B<--> I] B is essentially a thin wrapper around B for running a virtual machine image created by B or something compatible. The virtual machine image is expected to be a raw ext4 image with file system label B. The architecture of the machine is detected from the contained F. -It must contain a symbolic link pointing to a kernel image at F or F depending on the architecture and a symbolic link pointing to an initrd image at F. +It must contain a symbolic link pointing to a kernel image at F<(|/boot)/vmlinu[xz]> depending on the architecture and a symbolic link pointing to an initrd image at F. Both are extracted and passed to B. A net interface configured for user mode is added automatically. -- cgit v1.2.3