[arch-releng] reduce image size

Christian Hesse list at eworm.de
Thu Oct 1 14:53:29 UTC 2015


Hello everybody,

now that we support root filesystem on squashfs/overlayfs... Do we want to
reduce image size some more?

Currently we generate a squashfs for each architecture, one for x86_64 and
one for i686. How about merging these into one filesystem? Only extra thing
to do is a bind mount for the subdirectory to /new_root.

The benefit is the deduplication support in squashfs, identical files are
added to the filesystem just once. I did not yet test with the official media,
but I'd expect the size to shrink about 120MB...

This has a drawback, though: Copy-to-RAM would copy the files for both
architectures, not just the needed one.

Any comments?
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/arch-releng/attachments/20151001/9f397245/attachment.asc>


More information about the arch-releng mailing list