git: b8abafb4de41 - stable/13 - release: Redirect etcupdate logfile to /dev/null.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 31 Aug 2024 16:19:18 UTC
The branch stable/13 has been updated by gordon:
URL: https://cgit.FreeBSD.org/src/commit/?id=b8abafb4de419dd063d4da1e049b87652c847af6
commit b8abafb4de419dd063d4da1e049b87652c847af6
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:18:49 +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 55d82a0d0f5e..9feb4d170a41 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -122,7 +122,7 @@ base.txz:
"TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET} ${.MAKE.JOBS:D-j${.MAKE.JOBS}}" \
-D "${.OBJDIR}/${DISTDIR}/base"
etcupdate extract -B -M "TARGET_ARCH=${TARGET_ARCH} TARGET=${TARGET}" \
- -s ${WORLDDIR} -d "${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate"
+ -s ${WORLDDIR} -d "${.OBJDIR}/${DISTDIR}/base/var/db/etcupdate" -L /dev/null
# Package all components
cd ${WORLDDIR} && ${IMAKE} packageworld DISTDIR=${.OBJDIR}/${DISTDIR}
mv ${DISTDIR}/*.txz .