summaryrefslogtreecommitdiffstats
path: root/debootstrap
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2011-08-15 18:34:24 (GMT)
committerJoey Hess <joey@kitenet.net>2011-08-15 18:34:24 (GMT)
commita0785d5497a1971834764e11662d915647d7da14 (patch)
tree1bc05af124cd36b8d668839cc85293bf7a85204e /debootstrap
parent82ab93491c86fa45abc7f4a4b0d18827807244be (diff)
downloaddebootstrap-a0785d5497a1971834764e11662d915647d7da14.zip
debootstrap-a0785d5497a1971834764e11662d915647d7da14.tar.gz
debootstrap-a0785d5497a1971834764e11662d915647d7da14.tar.bz2
Fix support for running debootstrap on a FreeBSD host to create a kFreeBSD chroot or jail.
This worked in squeeze, as documented here: http://blog.vx.sk/archives/22-Updated-Tutorial-Debian-GNUkFreeBSD-in-a-FreeBSD-jail.html But recent changes to differentiate between the host and target ARCH/OS broke it. All that's needed to get it back is to detect FreeBSD's uname output. Untested.
Diffstat (limited to 'debootstrap')
-rwxr-xr-xdebootstrap3
1 files changed, 3 insertions, 0 deletions
diff --git a/debootstrap b/debootstrap
index 809c1c0..42f7133 100755
--- a/debootstrap
+++ b/debootstrap
@@ -413,6 +413,9 @@ if [ -z "$HOST_OS" ]; then
GNU)
HOST_OS=hurd
;;
+ FreeBSD*)
+ HOST_OS=freebsd
+ ;;
esac
fi