forked from Lainports/freebsd-ports
a subdirectory of another, already installed system. It doesn't require an installation CD, just access to a Debian repository. In FreeBSD, you can use debootstrap to install Debian GNU/kFreeBSD into a subdirectory of your existing FreeBSD installation (i386 or amd64) and then run Debian GNU/kFreeBSD (i386 or amd64) in a jail or chroot. WWW: http://wiki.debian.org/Debootstrap
11 lines
396 B
Text
11 lines
396 B
Text
--- debootstrap.orig 2011-02-26 21:36:23.197635062 +0100
|
|
+++ debootstrap 2011-02-26 21:50:23.274213717 +0100
|
|
@@ -384,6 +384,8 @@
|
|
|
|
if [ "$ARCH" != "" ]; then
|
|
true
|
|
+elif [ "`uname -s`" = "FreeBSD" ]; then
|
|
+ ARCH=kfreebsd-`/sbin/sysctl -n hw.machine_arch`
|
|
elif [ -x /usr/bin/dpkg ] && \
|
|
/usr/bin/dpkg --print-architecture >/dev/null 2>&1; then
|
|
ARCH=`/usr/bin/dpkg --print-architecture`
|