Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F152892922
D53046.id164050.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
602 B
Referenced Files
None
Subscribers
None
D53046.id164050.diff
View Options
diff --git a/release/tools/vmimage.subr b/release/tools/vmimage.subr
--- a/release/tools/vmimage.subr
+++ b/release/tools/vmimage.subr
@@ -290,6 +290,11 @@
cat ${DESTDIR}/METALOG.pkg >> ${DESTDIR}/METALOG
fi
+ # Sort METALOG file; makefs produces directories with 000 permissions
+ # if their contents are seen before the directories themselves.
+ env -i LC_COLLATE=C sort -u ${DESTDIR}/METALOG > ${DESTDIR}/METALOG.sorted
+ mv ${DESTDIR}/METALOG.sorted ${DESTDIR}/METALOG
+
case "${VMFS}" in
ufs)
cd ${DESTDIR} && ${MAKEFS} ${MAKEFSARGS} -o label=rootfs -o version=2 -o softupdates=1 \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Apr 18, 8:21 PM (20 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31699816
Default Alt Text
D53046.id164050.diff (602 B)
Attached To
Mode
D53046: vmimage.subr: Sort METALOG before running makefs
Attached
Detach File
Event Timeline
Log In to Comment