projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e6eaa0
)
OSX packaging: fix disk-image "Resource busy"
author
Robin Gareus
<robin@gareus.org>
Mon, 2 Feb 2015 17:46:26 +0000
(18:46 +0100)
committer
Robin Gareus
<robin@gareus.org>
Mon, 2 Feb 2015 17:46:26 +0000
(18:46 +0100)
see http://lists.apple.com/archives/darwin-dev/2008/Sep/msg00030.html
tools/osx_packaging/osx_build
patch
|
blob
|
history
diff --git
a/tools/osx_packaging/osx_build
b/tools/osx_packaging/osx_build
index fffd70c10ac9aea21fae13676c4d7920a7dedff4..f3f235b120037f4e86b2abac031fdcd04e423804 100755
(executable)
--- a/
tools/osx_packaging/osx_build
+++ b/
tools/osx_packaging/osx_build
@@
-646,7
+646,7
@@
trap "rm -rf $MNTPATH $TMPDMG ${TMPDMG}.dmg $ICNSTMP" EXIT
hdiutil create -megabytes $DMGMEGABYTES "$TMPDMG"
DiskDevice=$(hdid -nomount "$TMPDMG" | grep Apple_HFS | cut -f 1 -d ' ')
newfs_hfs -v "${VOLNAME}" "${DiskDevice}"
-mount -t hfs "${DiskDevice}" "${MNTPATH}"
+mount -t hfs
-o nobrowse
"${DiskDevice}" "${MNTPATH}"
cp -r ${PRODUCT_PKG_DIR}/* "${MNTPATH}" || exit
mkdir "${MNTPATH}/.background"