Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144425209
D3002.id6726.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
608 B
Referenced Files
None
Subscribers
None
D3002.id6726.diff
View Options
Index: release/scripts/mm-mtree.sh
===================================================================
--- release/scripts/mm-mtree.sh
+++ release/scripts/mm-mtree.sh
@@ -30,7 +30,15 @@
# Set the default path for the temporary root environment
#
-TEMPROOT='/var/tmp/temproot'
+# Save the old TMPDIR variable
+__TMPDIR="${TMPDIR}"
+export TMPDIR="/var/tmp"
+# Generate a uniq temproot dir to work around parallel release
+# failure without chroot.
+TEMPROOT=`mktemp -d -t 'temproot'`
+# Restore the old TMPDIR
+export TMPDIR="${__TMPDIR}"
+unset __TMPDIR
# Assign the location of the mtree database
#
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 9:19 AM (14 h, 18 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28562447
Default Alt Text
D3002.id6726.diff (608 B)
Attached To
Mode
D3002: possible fix to "Parallel release failed on pwd_mkdb"
Attached
Detach File
Event Timeline
Log In to Comment