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:
Fabian Deutsch 2015-10-13 17:50:51 +03:00 committed by Mike McLean
parent 2a292308de
commit 4729adc5f9
4 changed files with 39 additions and 3 deletions

View file

@ -769,6 +769,7 @@ insert into archivetypes (name, description, extensions) values ('shell', 'Shell
insert into archivetypes (name, description, extensions) values ('rc', 'Resource file', 'rc');
insert into archivetypes (name, description, extensions) values ('wsdl', 'Web Services Description Language', 'wsdl');
insert into archivetypes (name, description, extensions) values ('obr', 'OSGi Bundle Repository', 'obr');
insert into archivetypes (name, description, extensions) values ('liveimg-squashfs', 'liveimg compatible squashfs image', 'liveimg.squashfs');
-- Do we want to enforce a constraint that a build can only generate one