table of contents
QEMU-SBUILD-UPDATE(1) | User Commands | QEMU-SBUILD-UPDATE(1) |
NAME¶
qemu-sbuild-update - QEMU image updater
DESCRIPTION¶
usage: qemu-sbuild-update [-h] [--snapshot] [--arch ARCH] [--noexec] image
sbuild-update analog for QEMU images.
positional arguments:¶
- image
- Image path. Will be tried first as-is, and if no image exists at that location, then $IMAGEDIR/<image> is tried.
optional arguments:¶
- -h, --help
- show this help message and exit
- --snapshot
- Create a snapshot of the image before updating it. Useful for reproducibility purposes.
- --arch ARCH
- Architecture to use (instead of attempting to auto-guess).
- --noexec
- Don't actually do anything. Just print the command string that would be executed, and then exit.
EXAMPLES¶
$ qemu-sbuild-update unstable-autopkgtest-amd64.img
This will run a VM with the image unstable-autopkgtest-amd64.img, and run apt-get update, upgrade, clean, and finally autoremove in the image.
ENVIRONMENT¶
The image will first be treated as a path. If a file exists at that path, it is used. Otherwise, image will be looked for in $IMAGEDIR, or /var/cache/qemu-sbuild if $IMAGEDIR is unset.
COPYRIGHT¶
Copyright © 2020 Christian Kastner <ckk@kvr.at>
SEE ALSO¶
qemu-sbuild(1), qemu-sbuild-create(1).
December 2020 | qemu-sbuild-update 0.1 |