SBUILD-QEMU-UPDATE(1) | Debian sbuild | SBUILD-QEMU-UPDATE(1) |
sbuild-qemu-update - sbuild-update analog for QEMU images
sbuild-qemu-update [-h] [--snapshot] [--arch=ARCH] [--noexec] IMAGE
sbuild-qemu-update boots a QEMU VM using IMAGE and then runs apt-get in it, performing update, dist-upgrade, clean and autoremove. It can optionally create a snapshot before updating.
The architecture is auto-guessed by stripping any file suffix and then splitting the image name on dashes ``-'', and finally by looking for a Debian architecture name. sid-amd64.img, amd64-temporary.image or even just amd64 would all be assumed to be amd64 images, but not amd64.rebuild-tests.img. If this guesses wrong, use the --arch option.
$ sbuild-qemu-update unstable-autopkgtest-amd64.img
This will update the image unstable-autopkgtest-amd64.img in the current directory. If no such file exists there, then $IMAGEDIR/unstable-autopkgtest-amd64.img is tried.
If $IMAGEDIR is unset, then ~/.cache/sbuild is used.
Copyright © 2020-2022 Christian Kastner <ckk@debian.org>
sbuild(1), sbuild-qemu(1), sbuild-qemu-create(1).
12 April 2024 | Version 0.85.7 |