build qcow image from a root-fs
Find a file
2024-11-25 23:48:55 +01:00
main support size spec in env 2024-11-25 23:48:55 +01:00
README.md build dir 2023-11-09 13:01:11 +01:00

qimg

Build qcow2 image with grub installed from provided root-fs (e.g. from dbs).

synopsis

export QIMG_ROOTFS=/path/to/root-fs.tgz
export QIMG_IMAGE=/path/to/image.qcow2
export QIMG_BUILD_DIR="$HOME"

require qimg [ /path/to/root-fs.tgz [ /path/to/image.qcow2 ] ]

description

At least root-fs must be provided as source argument, in environment or as the command line argument. Command line arguments override environment variables. If the image name is not provided, .tgz is replaced by .qcow2 and image will be in the same directory as the root-fs.