table of contents
MMDEBSTRAP-AUTOPKGTEST-BUILD-QEMU(1) | User Contributed Perl Documentation | MMDEBSTRAP-AUTOPKGTEST-BUILD-QEMU(1) |
NAME¶
mmdebstrap-autopkgtest-build-qemu - autopkgtest-build-qemu without vmdb2 but mmdebstrap and EFI boot
SYNOPSIS¶
mmdebstrap-autopkgtest-build-qemu [OPTIONS] --boot=efi RELEASE IMAGE
DESCRIPTION¶
mmdebstrap-autopkgtest-build-qemu is a mostly compatible drop-in replacement for autopkgtest-build-qemu(1) with two main differences: Firstly, it uses mmdebstrap(1) instead of vmdb2(1) and thus is able to create QEMU disk images without requiring superuser privileges. Secondly, it uses systemd-boot(7) and thus only supports booting via EFI.
POSITIONAL PARAMETERS¶
OPTIONS¶
- --mirror=MIRROR
- Specify which distribution to install. It defaults to http://deb.debian.org/debian (i.e. Debian), but you can pass a mirror of any Debian derivative.
- --architecture=ARCHITECTURE
- Set the architecture for the virtual machine image, specified as a
dpkg(1) architecture. If omitted, the host architecture is assumed.
--arch=ARCH is an alias for this option.
- --script=SCRIPT
- Specifies a user script that will be called with the root filesystem of
the image as its first parameter. This script can them make any necesssary
modifications to the root filesystem.
The script must be a POSIX shell script, and should not depend on bash-specific features. This script will be executed inside a chroot(1) call in the virtual machine root filesystem.
- --size=SIZE
- Specifies the image size for the virtual machine, defaulting to 25G.
- --apt-proxy=PROXY
- Specify an apt proxy to use in the virtual machine. By default, if you have an apt proxy configured on the host, the virtual machine will automatically use this, otherwise there is no default.
- --boot=efi, --efi
- Select the way the generated image will expect to be booted. Unless you explicitly select --boot=efi, operation will fail.
- --keyring=KEYRING
- Passes an additional --keyring parameter to mmdebstrap.
EXAMPLES¶
$ mmdebstrap-autopkgtest-build-qemu --boot=efi stable /path/to/debian-stable-i386.img i386 $ mmdebstrap-autopkgtest-build-qemu --boot=efi unstable /path/to/debian-unstable.img
SEE ALSO¶
B<autopkgtest-build-qemu>(1), B<autopkgtest-virt-qemu>(1), B<mmdebstrap>(1), B<autopkgtest>(1)
2023-10-24 | perl v5.36.0 |