1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Default to Linux instead of kFreeBSD, since that's the more common

choice, and drop the no longer relevant ONLY_FOR_ARCHS.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Edward Tomasz Napierala 2020-10-14 14:55:10 +00:00
parent 749ed164ac
commit 27fde5e7ed
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552340
4 changed files with 9 additions and 12 deletions

View File

@ -3,12 +3,13 @@
PORTNAME= debootstrap
PORTVERSION= 1.0.123
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= DEBIAN/pool/main/d/${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= trasz@FreeBSD.org
COMMENT= Install Debian base system into a directory
COMMENT= Install Debian or Ubuntu base system into a directory
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/debian/copyright
@ -22,9 +23,6 @@ NO_ARCH= yes
USES= gmake perl5
USE_PERL5= run
ONLY_FOR_ARCHS= i386 amd64
ONLY_FOR_ARCHS_REASON= Debian GNU/kFreeBSD available only for i386 and amd64
post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' \
${WRKSRC}/Makefile \

View File

@ -37,7 +37,7 @@
+fi
+
+if [ "$HOST_OS" = "freebsd" -a -z "$HOST_ARCH" ]; then
+ HOST_ARCH=kfreebsd-`/sbin/sysctl -n hw.machine_arch`
+ HOST_ARCH=`/sbin/sysctl -n hw.machine_arch`
+ EXTRACTOR_OVERRIDE=ar
fi

View File

@ -1,10 +1,9 @@
debootstrap is a tool which will install a Debian base system into
a subdirectory of another, already installed system. It doesn't require an
installation CD, just access to a Debian repository.
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 into
a subdirectory of your existing FreeBSD installation (i386 or amd64)
and then run Debian GNU/kFreeBSD (i386 or amd64) or Debian Linux (i386)
in a jail or chroot.
In FreeBSD, you can use debootstrap to install Debian into a subdirectory
of your existing FreeBSD installation and then run Debian Linux in a jail
or chroot.
WWW: https://wiki.debian.org/Debootstrap

View File

@ -1,7 +1,7 @@
[
{ type: install
message: <<EOM
To successfully create an installation of Debian GNU/kFreeBSD
To successfully create an installation of Debian or Ubuntu
debootstrap requires the following kernel modules loaded:
fdescfs linprocfs linsysfs tmpfs