Reduce IUK size
Originally created by @anonym on #15290 (Redmine)
This is about researching low-hanging fruits to reduce the size of our IUKs in order to be nicer to users with not very fast Internet connection. Regarding increased memory consumption caused by the “single SquashFS diff” idea, another approach (#6876 (closed)) will solve the problem.
Current best ideas (collected initially on #11211 (closed) and #11345 (closed); see also #6425 (closed)) are:
- apply the
99-set_mtimes
trick to:/usr/share/mime/application/*
/var/cache/debconf/*
/var/lib/dpkg/info
- delete
/var/lib/dkms/
during the build, then remove the dkms bits fromconfig/chroot_local-hooks/99-zzzzzz_reproducible-builds-post-processing
To evaluate the impact of these ideas:
- Fork the tag for Tails version N, apply the aforementioned tricks. Build an ISO.
- Do the same for Tails version N+1.
- Build the IUK from N to N+1 using these ISOs.
- Compare the size of the IUK you’ve built with the size of the IUK we’ve published from N to N+1.
Feature Branch: feature/15281-single-squashfs-diff
Parent Task: #15281 (closed)
Related issues
- Related to #15289 (closed)
- Related to #6425 (closed)
- Has duplicate #11211 (closed)
- Has duplicate #11345 (closed)
Edited by anonym