git: 5a542a605537 - stable/14 - release: Redirect etcupdate logfile to /dev/null.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Aug 2024 16:19:09 UTC
The branch stable/14 has been updated by gordon:
URL: https://cgit.FreeBSD.org/src/commit/?id=5a542a60553780b51fdd822af1d9aba53707fc29
commit 5a542a60553780b51fdd822af1d9aba53707fc29
Author: Gordon Tetlow <gordon@FreeBSD.org>
AuthorDate: 2024-08-24 05:35:07 +0000
Commit: Gordon Tetlow <gordon@FreeBSD.org>
CommitDate: 2024-08-31 16:17:55 +0000
release: Redirect etcupdate logfile to /dev/null.
Stop shipping a log file for etcupdate. This is a source of
non-reproducability as it uses mktemp thereby guaranteeing the output is
different each run.
Differential Revision: https://reviews.freebsd.org/D46317
(cherry picked from commit e972e408d19a58c4f2855eface487d06ef73b799)
---
release/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/release/Makefile b/release/Makefile
index 32e59a1a5c90..9ca32e168fe7 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -129,7 +129,7 @@ base.txz:
sh ${WORLDDIR}/usr.sbin/etcupdate/etcupdate.sh extract -B \
-m "${MAKE}" -M "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" \
-s ${WORLDDIR} -d "${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate" \
- ${NO_ROOT:D-N}
+ -L /dev/null ${NO_ROOT:D-N}
.if defined(NO_ROOT)
echo "./var/db/etcupdate type=dir uname=root gname=wheel mode=0755" >> ${.OBJDIR}/${DISTDIR}/base.meta
sed -n 's,^\.,./var/db/etcupdate/current,p' ${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate/current/METALOG \