diff options
author | Colin Watson <cjwatson@debian.org> | 2009-01-13 19:11:55 (GMT) |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2009-01-13 19:11:55 (GMT) |
commit | 3375090d8e3a82b2352af0aa575ba41097f1652b (patch) | |
tree | 90c5ddfc557277211e4e9cca05d39644b7f75fde /scripts/ubuntu/breezy | |
parent | ac2d34b37cb7467ba143c62e8178a9a1ab67db76 (diff) | |
download | debootstrap-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/breezy | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/ubuntu/breezy b/scripts/ubuntu/breezy index e5e575d..c5b12c5 100644 --- a/scripts/ubuntu/breezy +++ b/scripts/ubuntu/breezy @@ -4,10 +4,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 @@ -20,7 +22,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 gcc-4.0-base ${LIBC6}-dev libdb4.2 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 gcc-4.0-base ${LIBC}-dev libdb4.2 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" @@ -101,7 +103,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 |