Marc Herbert wrote:
> Alexander Todorov a écrit :
>> Hi folks,
>> on my eeepc I have the %_excludedocs rpm macro configured so that no man 
>> pages
>> or other documentation is installed. How do I enable this when building a 
>> custom
>> live cd? I want to save some space and man pages are not really necessary.
> 
> 
> To strip docs and locales from Fedora 10, I successfully use this:
> 
> %packages --excludedocs --instLangs=en_GB.utf8:en_US.utf8
> 
> 
> ... and this:
> 
> %post
> localedef --list-archive | grep -v -i -E 'en_GB.utf8|en_US.utf8' | 
>        xargs localedef --delete-from-archive
> mv /usr/lib/locale/locale-archive /usr/lib/locale/locale-archive.tmpl
> /usr/sbin/build-locale-archive
> 

Thanks Marc,
that was what I was looking for. Removing extra locales is also cool.

--
Alexander.

--
Fedora-livecd-list mailing list
Fedora-livecd-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list

Reply via email to