drinkcat / chroagh

Chromium OS Archlinux Chroot Environment
BSD 3-Clause "New" or "Revised" License
241 stars 27 forks source link

Include localepurge and post-install scritps to reduce the size #61

Open Jzarecta opened 9 years ago

Jzarecta commented 9 years ago

Probably a good idea to include scripts and other programs like localepurge to reduce the footprint of the distro. localepurge gets rid of non-used locales which according to my du is what takes the most space of the arch distro. Other scripts could be included or builted in order to keep the distro slim.

drinkcat commented 9 years ago

Probably a good idea to include scripts and other programs like localepurge to reduce the footprint of the distro. localepurge gets rid of non-used locales which according to my du is what takes the most space of the arch distro.

Thanks for the suggestion!

I didn't know about localpurge. It might be interesting to remove unneeded locales indeed, especially on arch that installs more packages by default.

Ideally, we don't want to pull packages off AUR if not absolutely necessary, so I'm wondering how difficult it would be to implement (part of) its functions in crouton...

Jzarecta commented 9 years ago

It's a glorified bash script. So it shouldnt be that hard to just bundle it as post-install script.

AIndoria commented 9 years ago

You can use a pre-seed file to do that, or I can add that in, in a couple of days when I get time this weekend.