mount_linprocfs gone on CURRENT

Tim Bishop tim-lists at bishnet.net
Fri Dec 8 10:46:26 EST 2006


On Wed, Dec 06, 2006 at 10:26:20PM +0000, Tim Bishop wrote:
> Recently mount_linprocfs was removed on CURRENT. This breaks tinderbox
> when building java/jdk15 (and probably some other things). I've tried
> this simple fix to portbuild and buildscript and it worked fine for
> java/jdk15:
> 
> 	s/mount_linprocfs/mount -t linprocfs/
> 
> It looks like this should on other branches too, so could this change be
> committed to tinderbox?

Patch to Tinderbox 2.3.4 do that is attached.

Tim.

-- 
Tim Bishop
http://www.bishnet.net/tim/
PGP Key: 0x5AE7D984
-------------- next part --------------
diff -ruN /usr/local/tinderbox/scripts/buildscript scripts/buildscript
--- /usr/local/tinderbox/scripts/buildscript	Thu Nov 30 13:01:18 2006
+++ scripts/buildscript	Wed Dec  6 23:43:16 2006
@@ -9,7 +9,7 @@
     if [ ${arch} = "i386" -o ${arch} = "amd64" ]; then
 	# JDK ports need linprocfs :(
 	mkdir -p /compat/linux/proc
-	mount_linprocfs linprocfs /compat/linux/proc
+	mount -t linprocfs linprocfs /compat/linux/proc
     fi
 }
 
diff -ruN /usr/local/tinderbox/scripts/portbuild scripts/portbuild
--- /usr/local/tinderbox/scripts/portbuild	Thu Nov 30 13:01:18 2006
+++ scripts/portbuild	Wed Dec  6 23:42:59 2006
@@ -401,7 +404,7 @@
 if [ ${ARCH} = "i386" -o ${ARCH} = "amd64" ]; then
     # JDK ports need linprocfs :(
     mkdir -p ${chroot}/compat/linux/proc
-    mount_linprocfs linprocfs ${chroot}/compat/linux/proc
+    mount -t linprocfs linprocfs ${chroot}/compat/linux/proc
 fi
 
 # mount procfs


More information about the tinderbox-list mailing list