Package: multistrap
Version: 2.2.1
Severity: wishlist
Hi,
suppose the following configuration file:
[General]
arch=amd64
directory=/tmp/multistrap/
cleanup=true
noauth=false
explicitsuite=false
unpack=true
bootstrap=Debian
aptsources=Debian
[Debian]
packages=
source=http://http.debian.net/debian
keyring=debian-archive-keyring
suite=stable
omitdebsrc=false
[Debian]
packages=
source=http://http.debian.net/debian
keyring=debian-archive-keyring
suite=stable
omitdebsrc=false
When running multistrap with this file, I get the following output:
multistrap 2.2.1 using multistrap-example.conf
multistrap 2.2.1 using multistrap-example.conf
Defaulting architecture to native: amd64
multistrap building amd64 multistrap on 'amd64'
I: Installing ARRAY(0x21962f0)
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
multistrap: Unable to download keyring package: '/tmp/multistrap/'
It took me quite some time until I figured out from reading the perl
code what the error was. The problem is easy to see in the configuration
file above but becomes way harder to spot in more complicated setups. In
the ideal case, the configuration file parser would either not allow
duplicate sections or multistrap would abort with a helpful error
message if it sees that variables that it expects to be scalars were
read as arrays.
Thanks!
cheers, josch