[pkg-fso-maint] install.sh: should dpkg clear paths during install?

David Kalnischkies kalnischkies+debian at gmail.com
Sun Nov 20 12:08:42 UTC 2011

On Sun, Nov 6, 2011 at 21:28, Steffen Möller <steffen_moeller at gmx.de> wrote:
> On 11/06/2011 08:12 PM, Timo Juhani Lindfors wrote:
>> Steffen Möller <steffen_moeller at gmx.de> writes:
>>> Are there any strong feelings about e.g.
>>>  --path-exclude /usr/share/doc
>>>  --path-exclude /usr/share/man
>> Hmm, are you proposing that install.sh should install a system that does
>> not have documentation?
> I am striving towards it, yes. Maybe we could reduce the contrasts of
> this picture a bit and reduce something for some packages, which just may
> not be of too much interest for those using the mobile mostly as a phone.

(sorry for being late to the party)

Might be the biggest safer on my system (replacing localepurge):
	path-exclude /usr/share/locale/*
	path-include /usr/share/locale/de*

	path-exclude /usr/share/man/*
	path-include /usr/share/man/man*
	path-include /usr/share/man/de*

You could remove all manpages, but they are not that big anyway…
And whitelisting specific manpages tend to miss the manpage you need
while you are on the go.

Another interesting candidate is maybe:
	path-exclude /usr/share/doc/*
	path-include /usr/share/doc/*/copyright

That said, I need to add that I personally don't need documentation on
my phone as development is done on "bigger" machines and is just
deployed on my phone.

But all in all I have deployed only the first excludes (mostly out of habit),
the second would weight in with ~60 MB on my brick - a lot for flash, but
as I am still on the card, so it is a big "don't care" so far…

As it is not a spinning disk file unpack/copy saving is properly not worth
to even think about it seriously, but I leave that to test for someone who
desperately searches for some action to burn time…
(It's a good reason to replace localepurge through)

Either way, localepurge or the dpkg path-{ex,in}clude's replacing it
shouldn't be the default on any system. Space is relatively cheap as long
as we are not talking about internal flash which isn't the default, too.
And in general, all files are distributed for a reason, even if not everyone
has a need for every file. :)

Sorry for the unordered thought, i just figured i have to say something
- even through too late to call it timely - as i was explicitly cc'ed…

Best regards

David Kalnischkies

P.S.: I am subscribed to the list and my gta2v5 is still my default phone,
just that I am not a heavy phone user so it doesn't really count…

More information about the pkg-fso-maint mailing list