Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I like to use Debootstrap for making sparse systems (usually a base for something embedded) or paravirtualized Xen guests.

I'm familiar with how to tell Debootstrap what packages I want beyond the typical minimal base, but I have yet to find the right combination of tools to let me specify and auto generate locales after the base system has been installed.

Do I need to do this in my own scripts, or is there a way to tell Deboostrap what locales I want and have it just generate them?

share|improve this question

1 Answer 1

up vote 3 down vote accepted

I would suggest using grml-debootstrap. This is a wrapper script around debootstrap and comes from the grml live cd. This script has a file /etc/debootstrap/locale.gen where you can put your locales and they are generated at the right time. grml-debootstrap also has lots of more advantages and its worth to look at.

share|improve this answer
    
Thanks! I'm going to give it a try. –  Tim Post Aug 1 '10 at 16:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.