[issue560] grml-debootstrap locales configured twice

Tong Sun bts at bts.grml.org
Wed Nov 5 05:04:41 CET 2008


Tong Sun <suntong001 at gmail.com> added the comment:

On Mon, Nov 3, 2008 at 1:19 PM, Michael Prokop <bts at bts.grml.org> wrote:

>> >> During installing my additional packages:
>
> [...]
>
>> >> It is not a big deal for other configurations, but generating locales
>> >> takes a lot of time on my PC.
>
>> > Hm interesting. Which "additional packages" do you have?
>> > Is the issue still unresolved from your side?
>
>> hmm... I don't think it is the "additional packages" that matters. The
>> "stage reconfigure" (re)generates locales. This requires the 'locales'
>> packages installed beforehand, normally in the additional packages
>> list. Does Debian generates locales when installing the 'locales'
>> package?
>
> Hm, I'm not sure.
>
>> Actually, I installed the 'locales' package in the debootstrap phase:
>
>>   DEBOOTSTRAP_OPT='--include=debconf-utils,locales,pciutils
>> --exclude=nano,tasksel,tasksel-data,iptables'
>
>> So if you can't duplicate the error, maybe this is the cause.
>
> If you drop locales from DEBOOTSTRAP_OPT: do you see the generation
> of locales twice as well?

sorry for responding late, I'm tied up with other things at the
moment. I'll try it once I can find some time.

>> > PS: Did you check the origin/t/tong branch within grml-debootstrap?
>> > I'm waiting for your "ACK". ;)
>
>> Oh, I didn't make it clear:
>
>>> I don't know how it worked before but this is the only way for me
>>> to get additional packages installed in chroot.
>
> Oh, so configuring /etc/debootstrap/packages doesn't work for you?
> Or just isn't it what you want?

$ cat -n chroot-script
 . . .
   160  # install extra packages {{{
   161  extrapackages() {
   162      if [ "$EXTRAPACKAGES" = 'yes' ] ; then
 . . .

I was not able to make the condition on line 162 become true unless I
applied the patch. I remember that it works before, so I wondered how
it worked.

>> Apart from this, everything is working fine.
>
> Ok great, so I can merge your branch into our master branch and
> release a new grml-debootstrap version? (I'll be working on some
> grml-debootstrap stuff in the next few days anyway, but currently I'm
> concentrating on releasing grml 2008.11-rc1 so I'm quite busy)

sure, shouldn't be of any problem, as far as I can tell.

cheers

tong

----------
messages: 1617, 1633, 1634, 1635, 1640
nosy: suntong
priority: wish
status: chatting
title: grml-debootstrap locales configured twice
topic: grml-debootstrap

_____________________________________
GRML issue tracker <bts at bts.grml.org>
<http://bts.grml.org/grml/issue560>
_____________________________________


More information about the Bugs-changes mailing list