scripts: Removing f2fs-hash from UTS_VERSION

This commit is contained in:
Richard Carvalho
2025-04-16 10:17:48 -03:00
parent 667b95b081
commit 30d838593c

View File

@@ -22,10 +22,6 @@ if [ -r $TARGET -a ! -O include/generated/autoconf.h ]; then
exit 0
fi
echo $PWD
F2FS_HASH=$(sha1sum source/fs/f2fs/[[:lower:]]* source/include/linux/f2fs_fs.h\
| awk '{print $1}' | sha1sum | awk '{print $1}')
echo "f2fs-hash:"$F2FS_HASH
# Do not expand names
set -f
@@ -60,7 +56,7 @@ CONFIG_FLAGS=""
if [ -n "$SMP" ] ; then CONFIG_FLAGS="SMP"; fi
if [ -n "$PREEMPT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT"; fi
if [ -n "$PREEMPT_RT" ] ; then CONFIG_FLAGS="$CONFIG_FLAGS PREEMPT_RT"; fi
UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP "f2fs-hash:"$F2FS_HASH"
UTS_VERSION="$UTS_VERSION $CONFIG_FLAGS $TIMESTAMP"
# Truncate to maximum length