Commit Graph

10 Commits

Author SHA1 Message Date
Marcus Schäfer
18ba277113
Change bundling of image formats
By default none of the image formats were stored as compressed
file. The reason behind this was the assumption that some
formats automatically makes use of compression, which is true
but only in their processing and not in their data blocks at
creation time. Storage and handling of the image file itself
becomes cumbersome and therefore we change the default bundle
setup for image formats to be compressed. This means the image
as it gets packed by KIWI needs to be uncompressed before use.
The following image formats are affected by the change in a
call of the result bundler:

    kiwi result bundle ...

    * qcow2 (.qcow2.xz)
    * vdi   (.vdi.xz)
    * vhd   (.vhd.xz)
    * vhdx  (.vhdx.xz)
    * vmdk  (.vmdk.xz)

All other image formats already defined a custom bundling
setup including compression and are not affected by this change.
This Fixes #650
2018-11-06 12:16:36 +01:00
David Cassany
74aa8a5c14 Adding unpartitioned size attribute
This commit adds the possibility of setting some unpartitioned area
after the systemdisl partition into the image.

Fixes #709
2018-04-20 17:04:33 +02:00
Marcus Schäfer
d8bc0e3dcd
Cleanup misleading method name 2018-02-04 20:19:45 +01:00
Marcus Schäfer
6cc0b2085d Flake cleanup for unit tests 2017-03-07 13:03:10 +01:00
Marcus Schäfer
136b4efa44
Update resize_raw_disk method
Do not resize the disk if an attempt to resize to the same
size was made. Do not fail in this situation but indicate
via a bool return value if an action has happened(True)
or not(False)
2016-10-18 17:01:58 +02:00
Marcus Schäfer
de76321da7 Added resize_raw_disk method in DiskFormatBase
Allow to increase the disk geometry of a disk image file
in order to create free space on this disk
2016-10-18 10:08:05 +02:00
Marcus Schäfer
2a4c5f8c15
Do not compress disk formats
Stay compatible with the former version of kiwi and do not
compress disk formats like qcow2, vmdk, etc... It also does
not make much sense since the disk formats itself are using
a compression algorithm. Fixes #159
2016-10-10 09:05:32 +02:00
Marcus Schäfer
4124d545e0
Refactor subformat classes
Add a generic store_to_result method which allows to store
the format result files into an instance of Result. This
allows to customize result handling per format when needed
2016-05-11 19:18:22 +02:00
Marcus Schäfer
e6cc5bfa09 Move from nose to pytest
nose is no longer maintained, thus we have to move to another
testing system. This commit updates the tox setup and all tests
to use pytest instead of nose.
2016-03-14 12:23:14 +01:00
Marcus Schäfer
dbd20e8ba3 Move storage and subformat tests to match namespace 2016-03-08 15:21:19 +01:00