On 2020-05-27 12:01:53, Bastian Blank wrote: > On Wed, May 27, 2020 at 10:39:01AM +0200, Thomas Lange wrote: > > fai-diskimage has the option -S which specifies the raw disk size. We > > set this in debian_cloud_images/cli/build.py to 2G for genriccloud > > images. It should be easy to set this to maybe 550M. > > Sadly it is not that easy. A whole bunch of temporary data is deleted > in the final stages of the build process. > > What we can do, and I already thought about: circumvent fai-diskimage > completely and make the filesystem and image ourselves. > > This allows for: > - Better defined interface between build tool and fai config, aka > - no more running tests within, > - no more writing files with names derived from some environment > variable, > - properly cleanup the build process of stray processes. > - Support containers, which are defined by a tar, not a filesystem. > - Generate filesystems smaller, as no temporary storage is needed. > - Maybe even: create partially reproducible images. Are you thinking about doing it within FAI or outside of it using new tool set for this? -- |_|0|_| | |_|_|0| "Panta rei" | |0|0|0| -------- kuLa -------- | gpg --keyserver pgp.mit.edu --recv-keys 0x686930DD58C338B3 3DF1 A4DF C732 4688 38BC F121 6869 30DD 58C3 38B3
Attachment:
signature.asc
Description: PGP signature