radiodan-archive / cold-start

Build a base radiodan install from a clean raspbian distro
4 stars 1 forks source link

Purge unnecessary packages from Pi #7

Open andrewn opened 11 years ago

andrewn commented 11 years ago

Radiodan is headless so we can remove packages as documented here. These should be explicitly declared as purged in cold_start (http://sirlagz.net/2013/08/03/raspbian-server-edition-scripts/).

Our target is to get the everything on a 2GB card with space for user-installed extras (ideally: 1.6GB)

libbymiller commented 11 years ago

ideally even smaller so upload / download etc is quick from (hopefully) github binary release hosting

andrewn commented 11 years ago

I've created a provision shell script that, amongst other things, purges x11-common and some other scripts. I think this is safer than removing ~300 packages using the script referenced above.

This gets the expanded, installed image down to about 1.5GB.

This is different from having a small download size, because we'll be compressing the image for release so the size should go down even more.