Re: shrinking the squashfs image size
Am 18.02.2017 um 16:19 schrieb Ginger_M:
> Hi,
> Create file in config/hooks/normal/
>
> e.g. 0112-remove-folders.hook.chroot with content:
>
> #!/bin/sh
> set -e
> # Remove folders
>
> rm -rf /usr/share/doc/*
> rm -rf /usr/share/locale/*
> rm -rf /usr/share/man/*
I've discovered that ./var/lib/apt/lists/* is another ~ 100 MB that I
could remove, but adding a rm -rf for that in this hooks script doesn't
help. Should I run it at a later stage than 0112, or what would I have
to do to purge that directory as well?
-Stefan
Reply to: