[darwinbuild-changes] [58] trunk/darwinbuild/darwinbuild
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 01:42:41 PDT 2006
Revision: 58
http://trac.macosforge.org/projects/darwinbuild/changeset/58
Author: ssen
Date: 2006-10-04 01:42:41 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
Even though volfs support is commented out, fix it
up so that it would work. Notably, the chroot(8)
invocation was missing the root directory. Also
copy over umount so you can unmount volfs if you need
to
Modified Paths:
--------------
trunk/darwinbuild/darwinbuild
Modified: trunk/darwinbuild/darwinbuild
===================================================================
--- trunk/darwinbuild/darwinbuild 2005-07-11 02:10:12 UTC (rev 57)
+++ trunk/darwinbuild/darwinbuild 2006-10-04 08:42:41 UTC (rev 58)
@@ -606,14 +606,15 @@
echo "devfs appears to exist ..."
fi
- #if [ "$buildtool" == "xcodebuild" ]; then
- # echo "Mounting volfs ..."
- # [ -d "$BuildRoot/sbin" ] || mkdir -p "$BuildRoot/sbin"
- # [ -f "$BuildRoot/sbin/mount_volfs" ] || cp /sbin/mount_volfs "$BuildRoot/sbin/"
- # [ -d "$BuildRoot/.vol" ] || mkdir -p "$BuildRoot/.vol"
- # ## If the directory is empty, assume volfs is not mounted
- # [ "$(echo $BuildRoot/.vol/*)" == "$BuildRoot/.vol/*" ] && chroot /sbin/mount_volfs "/.vol"
- #fi
+# if [ "$buildtool" == "xcodebuild" ]; then
+# echo "Mounting volfs ..."
+# [ -d "$BuildRoot/sbin" ] || mkdir -p "$BuildRoot/sbin"
+# [ -f "$BuildRoot/sbin/mount_volfs" ] || cp /sbin/mount_volfs "$BuildRoot/sbin/"
+# [ -f "$BuildRoot/sbin/umount" ] || cp /sbin/mount_volfs "$BuildRoot/sbin/"
+# [ -d "$BuildRoot/.vol" ] || mkdir -p "$BuildRoot/.vol"
+# ## If the directory is empty, assume volfs is not mounted
+# [ "$(echo $BuildRoot/.vol/*)" == "$BuildRoot/.vol/*" ] && chroot "$BuildRoot" /sbin/mount_volfs "/.vol"
+# fi
###
### Actually invoke the build tool here
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/be5ce2e7/attachment.html
More information about the darwinbuild-changes
mailing list