Page MenuHomeFreeBSD

D53046.diff
No OneTemporary

D53046.diff

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

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)

Event Timeline