summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog7
-rw-r--r--scripts/debian/sid10
2 files changed, 12 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index 4cc1fcd..eae750f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debootstrap (1.0.12) UNRELEASED; urgency=low
+
+ * Improve code to choose between libc packages. Thanks to Luca Favatella
+ <slackydeb@gmail.com> for the patch.
+
+ -- Otavio Salvador <otavio@ossystems.com.br> Mon, 16 Mar 2009 09:02:49 -0300
+
debootstrap (1.0.11) unstable; urgency=low
* Add (Ubuntu) jaunty as a symlink to gutsy.
diff --git a/scripts/debian/sid b/scripts/debian/sid
index e1ee2e6..7d68d4f 100644
--- a/scripts/debian/sid
+++ b/scripts/debian/sid
@@ -8,11 +8,11 @@ if doing_variant fakechroot; then
fi
LIBC=libc6
-if [ "$ARCH" = "alpha" ] || [ "$ARCH" = "ia64" ]; then
- LIBC="libc6.1"
-elif [ "$ARCH" = "hurd-i386" ]; then
- LIBC="libc0.3"
-fi
+case $ARCH in
+ alpha|ia64) LIBC6="libc6.1" ;;
+ kfreebsd-*) LIBC6="libc0.1" ;;
+ hurd-*) LIBC6="libc0.3" ;;
+esac
work_out_debs () {
required="$(get_debs Priority: required)"