Improved build times for snappy images

Reinhard Pointner reinhard.pointner at gmail.com
Wed May 18 10:37:30 UTC 2016


Hi all,

Since I find myself rebuilding over and over trying different things. I
have noticed a few things that could be improved.


1.
If I add stage-packages to a part. I have to run `snapcraft clean part`
first to make the changes stick. Changing the yaml does not automatically
make snapcraft rebuild the changed parts.

2.
mksquashfs takes a lot longer than I'd expect. For a final release I
wouldn't mind, but building snaps in rapid succession is not fun if it
takes 2-3 minutes every time (snap folder: 3355 items, totalling 425.4 MB)
I want to test a small change. Not sure what compression is used, but at
least for testing I'd prefer something that was super fast / no compression.


Cheers,
Reinhard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snappy-app-devel/attachments/20160518/ff7160d3/attachment.html>


More information about the snappy-app-devel mailing list