Add support for liveimg-squashfs
This patch adds support to build squashfs images which are compatible to anaconda's liveimg directive and dracuts liveimg feature. The feature is pretty simple, as it just reuses the raw diskimage, and strips the disklabel, to retrieve the plain filesystem image. Two open issues: - Stripping the disk label is a pretty hack - Database schema upgrade is missing Signed-off-by: Fabian Deutsch <fabiand@fedoraproject.org>
This commit is contained in:
parent
2a292308de
commit
4729adc5f9
4 changed files with 39 additions and 3 deletions
3
cli/koji
3
cli/koji
|
|
@ -5353,7 +5353,8 @@ def handle_image_build(options, session, args):
|
|||
"""Create a disk image given an install tree"""
|
||||
formats = ('vmdk', 'qcow', 'qcow2', 'vdi', 'vpc', 'rhevm-ova',
|
||||
'vsphere-ova', 'vagrant-virtualbox', 'vagrant-libvirt',
|
||||
'vagrant-vmware-fusion', 'docker', 'raw-xz')
|
||||
'vagrant-vmware-fusion', 'docker', 'raw-xz',
|
||||
'liveimg-squashfs')
|
||||
usage = _("usage: %prog image-build [options] <name> <version> " +
|
||||
"<target> <install-tree-url> <arch> [<arch>...]")
|
||||
usage += _("\n %prog image-build --config FILE")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue