BTS

Message1646

Author mika
Recipients suntong
Date 2008-11-14.10:41:27
Content
* Tong Sun <bts@bts.grml.org> [20081105 05:09]:

> >> 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.

> sorry, I meant,

> $ cat -n chroot-script
>  . . .
>    139  # install additional packages {{{
>    140  packages() {
>    141    # Pre-seed the debconf database with answers. Each question will be ma
> rked
>    142    # as seen to prevent debconf from asking the question interactively.
>    143    [ -f /etc/debootstrap/debconf-selections ] && {
>    144      echo "Preseeding the debconf database, some lines might be skipped..
> ."
>    145      cat /etc/debootstrap/debconf-selections | debconf-set-selections
>    146    }
>    147
>    148    if [ "$PACKAGES" = 'yes' ] ; then
>  . . .

> line 148.

> I can see the message "Executing stage packages", but then nothing
> happens unless I applied the patch.

Sorry, which patch are you talking about? What's missing in
grml-debootstrap's git?

regards,
-mika-
History
Date User Action Args
2008-11-14 10:41:32mikasetrecipients: + suntong
2008-11-14 10:41:30mikalinkissue560 messages
2008-11-14 10:41:27mikacreate