Add debootstrap
authorrmh <rmh@thorin.(none)>
Sun, 25 Jan 2009 00:50:25 +0000 (01:50 +0100)
committerrmh <rmh@thorin.(none)>
Sun, 25 Jan 2009 00:50:25 +0000 (01:50 +0100)
debootstrap.diff [new file with mode: 0644]

diff --git a/debootstrap.diff b/debootstrap.diff
new file mode 100644 (file)
index 0000000..0924712
--- /dev/null
@@ -0,0 +1,33 @@
+diff -ur debootstrap-1.0.10/functions debootstrap-1.0.10.new/functions
+--- debootstrap-1.0.10/functions       2008-07-01 13:00:29.000000000 +0200
++++ debootstrap-1.0.10.new/functions   2009-01-25 01:46:33.151081585 +0100
+@@ -829,7 +829,7 @@
+               umount "$TARGET/proc" 2>/dev/null || true
+               in_target mount -t linprocfs proc /proc
+               ;;
+-          hurd-*)
++          hurd-*|kopensolaris-*)
+               ;;
+           *)
+               umount_on_exit /dev/pts
+@@ -1043,7 +1043,7 @@
+           kfreebsd-*|hurd-*)
+               ;;
+           *)
+-              mknod "$1/test-dev-null" c 1 3 || return 1
++              mknod "$1/test-dev-null" c 13 2 || return 1
+               if ! echo test > "$1/test-dev-null"; then
+                       rm -f "$1/test-dev-null"
+                       return 1
+diff -ur debootstrap-1.0.10/scripts/debian/sid debootstrap-1.0.10.new/scripts/debian/sid
+--- debootstrap-1.0.10/scripts/debian/sid      2008-06-02 12:43:20.000000000 +0200
++++ debootstrap-1.0.10.new/scripts/debian/sid  2009-01-23 23:09:43.991615189 +0100
+@@ -12,6 +12,8 @@
+   LIBC="libc6.1"
+ elif [ "$ARCH" = "hurd-i386" ]; then
+   LIBC="libc0.3"
++elif [ "$ARCH" = "kopensolaris-i386" ]; then
++  LIBC="libc1"
+ fi
+ work_out_debs () {