Add openssh
[kopensolaris-gnu/patches.git] / debootstrap.diff
1 diff -ur debootstrap-1.0.10/functions debootstrap-1.0.10.new/functions
2 --- debootstrap-1.0.10/functions        2008-07-01 13:00:29.000000000 +0200
3 +++ debootstrap-1.0.10.new/functions    2009-01-25 01:46:33.151081585 +0100
4 @@ -829,7 +829,7 @@
5                 umount "$TARGET/proc" 2>/dev/null || true
6                 in_target mount -t linprocfs proc /proc
7                 ;;
8 -           hurd-*)
9 +           hurd-*|kopensolaris-*)
10                 ;;
11             *)
12                 umount_on_exit /dev/pts
13 @@ -1043,7 +1043,7 @@
14             kfreebsd-*|hurd-*)
15                 ;;
16             *)
17 -               mknod "$1/test-dev-null" c 1 3 || return 1
18 +               mknod "$1/test-dev-null" c 13 2 || return 1
19                 if ! echo test > "$1/test-dev-null"; then
20                         rm -f "$1/test-dev-null"
21                         return 1
22 diff -ur debootstrap-1.0.10/scripts/debian/sid debootstrap-1.0.10.new/scripts/debian/sid
23 --- debootstrap-1.0.10/scripts/debian/sid       2008-06-02 12:43:20.000000000 +0200
24 +++ debootstrap-1.0.10.new/scripts/debian/sid   2009-01-23 23:09:43.991615189 +0100
25 @@ -12,6 +12,8 @@
26    LIBC="libc6.1"
27  elif [ "$ARCH" = "hurd-i386" ]; then
28    LIBC="libc0.3"
29 +elif [ "$ARCH" = "kopensolaris-i386" ]; then
30 +  LIBC="libc1"
31  fi
32  
33  work_out_debs () {