aboutsummaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-12-28 12:30:11 +0800
committerkris <kris@FreeBSD.org>2004-12-28 12:30:11 +0800
commitaa082f5628cfb846ce17c05bd253980edfcb4175 (patch)
tree64af1b84caf6f4392449df60dc9bfb4dfce06298 /Tools
parent73cb7455f1dc8d3cc4f467413526883bf255f7cb (diff)
downloadfreebsd-ports-gnome-aa082f5628cfb846ce17c05bd253980edfcb4175.tar.gz
freebsd-ports-gnome-aa082f5628cfb846ce17c05bd253980edfcb4175.tar.zst
freebsd-ports-gnome-aa082f5628cfb846ce17c05bd253980edfcb4175.zip
/rescue/mount_linprocfs isn't functional when called by
/rescue/mount -t linprocfs, so assume that the i386 build hosts have statically-built copies of the necessary binaries in /sbin, until this is fixed. Create /usr/X11R6 inside the chroot so that mtree has something to do, since this directory is otherwise orphaned.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/portbuild/scripts/portbuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/portbuild/scripts/portbuild b/Tools/portbuild/scripts/portbuild
index 31ae8f7840e1..05825f612627 100755
--- a/Tools/portbuild/scripts/portbuild
+++ b/Tools/portbuild/scripts/portbuild
@@ -194,7 +194,7 @@ if [ -f ${chroot}/.notready ]; then
mkdir -p ${chroot}/libexec
mkdir -p ${chroot}/lib
if [ "${arch}" = "i386" ]; then
- cp -p /rescue/mount_linprocfs /rescue/mount /rescue/umount ${chroot}/sbin
+ cp -p /sbin/mount_linprocfs /sbin/mount /sbin/umount ${chroot}/sbin
cp -p /lib/libufs.so.2 ${chroot}/lib
fi
cp -p /libexec/ld-elf.so.1 ${chroot}/libexec
@@ -267,6 +267,7 @@ mtree -deU -f ${chroot}/usr/src/etc/mtree/BSD.usr.dist -p ${chroot}/usr \
mtree -deU -f ${chroot}/usr/src/etc/mtree/BSD.local.dist -p ${chroot}/usr/local \
>/dev/null 2>&1
+mkdir ${chroot}/usr/X11R6
if [ $X_WINDOW_SYSTEM = "xfree86-3" ]; then
mtree -deU -f ${chroot}/usr/src/etc/mtree/BSD.x11.dist -p ${chroot}/usr/X11R6 \
>/dev/null 2>&1