Package: debootstrap Version: 0.3.3 Severity: wishlist Tags: patch, d-i debootstrap supports using multiple sources to install the base system from, for example using the --components option. However, for some reason it only considers the first component passed when building the list of e.g. "important" packages to install.
This means that if, for example, a custom version of tasksel is included in
a "local" repository on debian-cd (which means it will not be in the "main"
repository), it will not get installed by default.
This could be fixed by changing the get_debs function to:
get_debs () {
local field="$1"
shift
local m1 c
for m1 in $MIRRORS; do
for c in $COMPONENTS; do
local path="dists/$SUITE/$c/binary-$ARCH/Packages"
local pkgdest="$TARGET/$($DLDEST pkg $SUITE $c $ARCH $m1 $path)"
echo $("$PKGDETAILS" FIELD "$field" $m1 "$pkgdest" "$@" | sed 's/ .*//')
done
done
}
I have tested an installation using this modified version and it worked
perfectly: "important" packages from both main and local were installed.
It would be great if this patch could be applied before Etch as it is the only
real missing link in support for added "local" repositories which is important
for custom distributions.
Otherwise debian-cd and d-i already do "the right thing".
Cheers,
FJP
pgp2R9vNq2gyD.pgp
Description: PGP signature

