Merge lp:~sil2100/livecd-rootfs/remove_apt_lists into lp:livecd-rootfs
| Status: | Merged |
|---|---|
| Merged at revision: | 1209 |
| Proposed branch: | lp:~sil2100/livecd-rootfs/remove_apt_lists |
| Merge into: | lp:livecd-rootfs |
| Diff against target: |
13 lines (+9/-0) 1 file modified
live-build/ubuntu-touch/hooks/99-remove-lists.chroot (+9/-0) |
| To merge this branch: | bzr merge lp:~sil2100/livecd-rootfs/remove_apt_lists |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Michael Vogt | Approve on 2015-09-25 | ||
| Oliver Grawert | 2015-09-22 | Approve on 2015-09-23 | |
|
Review via email:
|
|||
Commit Message
Add a hook that would remove all the apt lists post-build for touch images to save up space. Our apparmor no longer needs those on the read-only filesystem for crashes.
Description of the Change
Add a hook that would remove all the apt lists post-build for touch images to save up space. Our apparmor no longer needs those on the read-only filesystem for crashes.
| Michael Vogt (mvo) wrote : | # |
You may want to also remove all files under /var/cache/apt/
| Michael Vogt (mvo) wrote : | # |
If those are empty already, its fine of course.
| Łukasz Zemczak (sil2100) wrote : | # |
We could do that, I suppose that should be safe. Should I modify this merge?
| Oliver Grawert (ogra) wrote : | # |
IIRC live-build makes sure the cache is emptied before tarring up the rootfs, there should be no need to wipe it explicitly.
| Łukasz Zemczak (sil2100) wrote : | # |
Can I ask someone to merge this in? Thank you ;)

looks fine to me (make sure it is executable)