Univention Bugzilla – Bug 30016
Compression of UCC images / Modify image size handling
Last modified: 2013-03-26 09:14:35 CET
Currently the images are created at a fixed size. E.g., the desktop image only consumes only approx. 5 out of 8 GBs of disk space. Two alternative solutions are imaginable: 1. Compression of images (decompression might be problematic on thin clients with narrow diskspace / memory constraints) 2. Modify the image download and image creation so that the image is downloaded with only the disk space actually used and allocate the remaining disk after image download.
We will compress the images with xz. The UCC clients will always use the decompressed form, the compression only applies to the path from the Univention image download server to the UCC server. ucc-image will gain a new option --compress. If the option is set, the "file-img" entry in the spec file will contain a ".xz" suffix and the hash value applies to the compressed form. ucc-image-download tests for the suffix and decompresses the UCC image file after hash value validation.
(In reply to comment #1) > We will compress the images with xz. The UCC clients will always use the > decompressed form, the compression only applies to the path from the Univention > image download server to the UCC server. > > ucc-image will gain a new option --compress. If the option is set, the > "file-img" entry in the spec file will contain a ".xz" suffix and the hash > value applies to the compressed form. > > ucc-image-download tests for the suffix and decompresses the UCC image file > after hash value validation. This has been implemented. Compressed images of the thin client image are on the internal mirror. No changes should be needed for the postinst installing the packages (except the new version of ucc-image-download being present)
*** Bug 30130 has been marked as a duplicate of this bug. ***
Eventhough called with "--compress", ucc-image does not create a compressed image.
There was a bug in parameter parsing, which has now been fixed.
(In reply to comment #5) > There was a bug in parameter parsing, which has now been fixed. Ok, working fine now. Verified.
UCC 1.0 has been released: http://forum.univention.de/viewtopic.php?f=26&t=2417 http://forum.univention.de/viewtopic.php?f=54&t=2418 If this error occurs again, please use "Clone This Bug".