summaryrefslogtreecommitdiffstats
path: root/scripts/ubuntu/dapper
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2009-01-13 19:11:55 (GMT)
committerColin Watson <cjwatson@debian.org>2009-01-13 19:11:55 (GMT)
commit3375090d8e3a82b2352af0aa575ba41097f1652b (patch)
tree90c5ddfc557277211e4e9cca05d39644b7f75fde /scripts/ubuntu/dapper
parentac2d34b37cb7467ba143c62e8178a9a1ab67db76 (diff)
downloaddebootstrap-3375090d8e3a82b2352af0aa575ba41097f1652b.zip
debootstrap-3375090d8e3a82b2352af0aa575ba41097f1652b.tar.gz
debootstrap-3375090d8e3a82b2352af0aa575ba41097f1652b.tar.bz2
Fix old Debian scripts and all Ubuntu scripts cope with Anthony's change
in 1.0.8 to make --second-stage not bother recalculating required and base. r57240
Diffstat (limited to '')
-rw-r--r--scripts/ubuntu/dapper12
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/ubuntu/dapper b/scripts/ubuntu/dapper
index 464bb44..1d73de0 100644
--- a/scripts/ubuntu/dapper
+++ b/scripts/ubuntu/dapper
@@ -11,10 +11,12 @@ download_style apt
finddebs_style from-indices
variants - buildd
-work_out_debs () {
- LIBC6=libc6
- if [ "$ARCH" = "alpha" ] || [ "$ARCH" = "ia64" ]; then LIBC6="libc6.1"; fi
+LIBC=libc6
+if [ "$ARCH" = "alpha" ] || [ "$ARCH" = "ia64" ]; then
+ LIBC="libc6.1"
+fi
+work_out_debs () {
required="$(get_debs Priority: required)"
if doing_variant -; then
@@ -27,7 +29,7 @@ work_out_debs () {
add () { if [ "$ARCH" = "$1" ]; then eval "$2=\"\$$2 $3\""; fi; }
- base="apt binutils cpio cpp cpp-4.0 dpkg-dev g++ g++-4.0 gcc gcc-4.0 ${LIBC6}-dev libgdbm3 libstdc++6 libstdc++6-4.0-dev linux-kernel-headers make patch perl perl-modules"
+ base="apt binutils cpio cpp cpp-4.0 dpkg-dev g++ g++-4.0 gcc gcc-4.0 ${LIBC}-dev libgdbm3 libstdc++6 libstdc++6-4.0-dev linux-kernel-headers make patch perl perl-modules"
add ia64 base "libunwind7-dev"
add sparc base "lib64gcc1"
@@ -106,7 +108,7 @@ second_stage_install () {
fi
p; progress $baseprog $bases INSTCORE "Installing core packages" #4
- x_core_install $LIBC6
+ x_core_install $LIBC
p; progress $baseprog $bases INSTCORE "Installing core packages" #5
x_core_install perl-base