summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJochen Sprickerhof <git@jochen.sprickerhof.de>2023-01-15 18:20:51 +0100
committerJochen Sprickerhof <git@jochen.sprickerhof.de>2023-01-15 18:20:51 +0100
commit0a6efea4c00b83fc1d899c0dc868f05308edd26d (patch)
treecbe02fa6c957eb86133af54421c1ef613bfbc9ff
parent37893004236be9c9885cec066e16c23b122d2ad1 (diff)
downloaddebvm-0a6efea4c00b83fc1d899c0dc868f05308edd26d.tar.gz
Document additional kernel link names
Reported-by: Helmut Grohne <helmut@subdivi.de>
-rw-r--r--README.md2
-rwxr-xr-xbin/debvm-run2
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<debvm-run> [B<-g>] [B<-i> F<image>] [B<-s> I<sshport>] [B<--> I<qemu options>]
B<debvm-run> is essentially a thin wrapper around B<qemu> for running a virtual machine image created by B<debvm-create> or something compatible.
The virtual machine image is expected to be a raw ext4 image with file system label B<debvm>.
The architecture of the machine is detected from the contained F</bin/true>.
-It must contain a symbolic link pointing to a kernel image at F</vmlinuz> or F</vmlinux> depending on the architecture and a symbolic link pointing to an initrd image at F</initrd.img>.
+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</initrd.img>.
Both are extracted and passed to B<qemu>.
A net interface configured for user mode is added automatically.