Merge lp:~rbalint/livecd-rootfs/minimize-doc into lp:~vorlon/livecd-rootfs/minimizing
| Status: | Merged |
|---|---|
| Merged at revision: | 1470 |
| Proposed branch: | lp:~rbalint/livecd-rootfs/minimize-doc |
| Merge into: | lp:~vorlon/livecd-rootfs/minimizing |
| Diff against target: |
44 lines (+22/-1) 2 files modified
live-build/auto/build (+21/-0) live-build/ubuntu-cpc/hooks/032-disk-image.binary (+1/-1) |
| To merge this branch: | bzr merge lp:~rbalint/livecd-rootfs/minimize-doc |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Steve Langasek | 2017-03-29 | Needs Information on 2017-04-03 | |
|
Review via email:
|
|||
Description of the Change
Use dpkg filter config file for not installing man files & docs.
For testing only, not for merging yet. :-)
| Balint Reczey (rbalint) wrote : | # |
- 1468. By Steve Langasek on 2017-04-01
-
if we're using SUBPROJECT=
minimize, and tzdata is not installed, remove
files that have been left behind. This is a workaround for a bug that should
be fixed in tzdata.
| Steve Langasek (vorlon) wrote : | # |
also, I've pushed a new revision to the target branch which conflicts (sorry) - should be a trivial merge to fix up, which I'll let you handle in the interest of a clean merge.
- 1469. By Balint Reczey on 2017-04-04
-
Source config/binary instead of /build/
config/ binary which may not exist - 1470. By Balint Reczey on 2017-04-04
-
Drop man pages and most of the documentation from minimized images
/usr/share/
doc/*/copyright and changelog.Debian.gz files are still kept

The final rootfs still has broken symlinks and empty directories in /usr/share/doc due to dpkg not honoring the filters for them, but otherwise the patch works now.
The symlinks and dirs don't take too much space, but they can be removed by moving the find ... part to the end of lb build script.