[darwinbuild-changes] [245] trunk/darwinbuild/darwinbuild
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 02:01:55 PDT 2006
Revision: 245
http://trac.macosforge.org/projects/darwinbuild/changeset/245
Author: ssen
Date: 2006-10-04 02:01:55 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
always mount volfs when building
Modified Paths:
--------------
trunk/darwinbuild/darwinbuild
Modified: trunk/darwinbuild/darwinbuild
===================================================================
--- trunk/darwinbuild/darwinbuild 2005-09-14 02:43:08 UTC (rev 244)
+++ trunk/darwinbuild/darwinbuild 2006-10-04 09:01:55 UTC (rev 245)
@@ -742,14 +742,16 @@
echo "devfs appears to exist ..."
fi
- if [ "$buildtool" == "xcodebuild" ]; then
+ if [ -z "$(echo $BuildRoot/.vol/*)" ]; 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/umount "$BuildRoot/sbin/"
[ -d "$BuildRoot/.vol" ] || mkdir -p "$BuildRoot/.vol"
## If the directory is empty, assume volfs is not mounted
- [ -n "$(echo $BuildRoot/.vol/*)" ] || chroot "$BuildRoot" /sbin/mount_volfs "/.vol"
+ chroot "$BuildRoot" /sbin/mount_volfs "/.vol"
+ else
+ echo "volfs appears to be mounted ..."
fi
###
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/d34838a4/attachment-0001.html
More information about the darwinbuild-changes
mailing list