rrconf / rr-qimg

make bootable image from root-fs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

make bootable image from root-fs


Languages

Language:Shell 100.0%