Package: multistrap
Version: 2.1.12
Severity: normal

Multistrap recently got support for 'flat' repositories.  However, at
one location in the code, this support is missing (or broken).
/usr/sbin/multistrap, line 406 reads:

        $component = (defined $components{$aptsrc}) ? $components{$aptsrc}
                : (exists $flatfile{$aptsrc}) ? "" : "main";

Compare this to the correct (?) line 236:

        $component = (exists $flatfile{$aptsrc}) ? "" 
                : (defined $components{$aptsrc}) ? $components{$aptsrc} : 
"main";

As a result, a multistrap configuration snippet like this:

  [Mtronix]
  packages=live-boot live-boot-initramfs-tools
  source=http://server/debian-local/ unstable/

Uses the apt source correctly during the bootstrap phase, but then
generates an invalid sources.list entry and puts that in the chroot.
Something like:

  deb http://server/debian-local/ unstable/  main

See also the mailing-list thread about the problem:

  http://lists.debian.org/debian-embedded/2011/03/msg00124.html

cheers,

David
-- 
GnuPG public key: http://user.cs.tu-berlin.de/~dvdkhlng/dk.gpg
Fingerprint: B17A DC95 D293 657B 4205  D016 7DEF 5323 C174 7D40

Attachment: pgpbYDzSreYOk.pgp
Description: PGP signature

Reply via email to