BTS

Message1641

Author suntong
Recipients
Date 2008-11-05.04:09:18
Content
On Tue, Nov 4, 2008 at 11:03 PM, Tong Sun <suntong001@gmail.com> wrote:

>> 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.
History
Date User Action Args
2008-11-05 04:09:18suntonglinkissue560 messages
2008-11-05 04:09:18suntongcreate