Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142944120
D54854.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D54854.diff
View Options
diff --git a/tools/tools/nanobsd/defaults.sh b/tools/tools/nanobsd/defaults.sh
--- a/tools/tools/nanobsd/defaults.sh
+++ b/tools/tools/nanobsd/defaults.sh
@@ -554,8 +554,8 @@
#
fixup_before_diskimage() {
# Run the deduplication script that takes the metalog journal and
- # combines multiple entries for the same file (see source for
- # details). We take the extra step of removing the size keywords. This
+ # combines multiple entries for the same file (see source for details).
+ # We take the extra step of removing the size and time keywords. This
# script, and many of the user scripts, copies, appends and otherwise
# modifies files in the build, changing their sizes. These actions are
# impossible to trap, so go ahead remove the size= keyword. For this
@@ -566,7 +566,7 @@
cp ${NANO_METALOG} ${NANO_METALOG}.pre
echo "/set uname=${NANO_DEF_UNAME} gname=${NANO_DEF_GNAME}" > ${NANO_METALOG}
cat ${NANO_METALOG}.pre | ${NANO_TOOLS}/mtree-dedup.awk | \
- sed -e 's/ size=[0-9][0-9]*//' | sort >> ${NANO_METALOG}
+ sort -u | mtree -C -K uname,gname,tags -R size,time >> ${NANO_METALOG}
fi
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 25, 9:01 PM (2 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27921030
Default Alt Text
D54854.diff (1 KB)
Attached To
Mode
D54854: nanobsd: Use mtree -C to produce the metalog
Attached
Detach File
Event Timeline
Log In to Comment