Re: Image generation

2020-04-28 Thread Ludovic Courtès
Mathieu Othacehe skribis: >> Wow! Why did it take 2h30? Do you have KVM? > > Yes, I'm not sure why it's so long. It seems that > "estimated-partition-size" takes a large proportion of this time, > because if I run the same command with a fixed disk-image size it goes > faster. Ooooh, I had never

Re: Image generation

2020-04-28 Thread Ludovic Courtès
Howdy! Mathieu Othacehe skribis: > I made some progress on the image generation topic. As discussed > previously, the goal is to use the same principles as genimage[1], to > achieve faster image generation, without resorting to VM. Awesome. > A very related topic, is to bring the

Re: Image generation

2020-04-28 Thread Ludovic Courtès
Hi! Mathieu Othacehe skribis: > This command: > > guix system disk-image --file-system-type=iso9660 > gnu/system/examples/bare-bones.tmpl > > takes, > > * Without zisofs compression, on host: 4min > * With zisofs compression, on host: 8min > * With zisofs, on VM: 19min (master) Nice! > This m

Re: Image generation

2020-04-24 Thread Mathieu Othacehe
> Wow! Why did it take 2h30? Do you have KVM? Yes, I'm not sure why it's so long. It seems that "estimated-partition-size" takes a large proportion of this time, because if I run the same command with a fixed disk-image size it goes faster. Mathieu

Re: Image generation

2020-04-24 Thread Mathieu Othacehe
> * Add support for ISO images. For ISO images, by running make-iso9660-image directly on the host (see wip-disk-image branch), I have a considerable time decrease. This command: --8<---cut here---start->8--- guix system disk-image --file-system-type=iso9660

Re: Image generation

2020-04-21 Thread Leo Famulari
On Tue, Apr 21, 2020 at 08:59:31PM +0200, Mathieu Othacehe wrote: > On my computer, this takes 6m50 versus 2h30 for the master version. I > tested the image in QEMU, everything seems fine. Wow! Why did it take 2h30? Do you have KVM?

Image generation

2020-04-21 Thread Mathieu Othacehe
Hello, I made some progress on the image generation topic. As discussed previously, the goal is to use the same principles as genimage[1], to achieve faster image generation, without resorting to VM. A very related topic, is to bring the possibility to create Guix System images with custom