Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F137708376
D53046.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.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
Wed, Nov 26, 2:03 AM (9 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
23659332
Default Alt Text
D53046.diff (602 B)
Attached To
Mode
D53046: vmimage.subr: Sort METALOG before running makefs
Attached
Detach File
Event Timeline
Log In to Comment