git: e972e408d19a - main - release: Redirect etcupdate logfile to /dev/null.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Aug 2024 05:39:28 UTC
The branch main has been updated by gordon:
URL: https://cgit.FreeBSD.org/src/commit/?id=e972e408d19a58c4f2855eface487d06ef73b799
commit e972e408d19a58c4f2855eface487d06ef73b799
Author: Gordon Tetlow <gordon@FreeBSD.org>
AuthorDate: 2024-08-24 05:35:07 +0000
Commit: Gordon Tetlow <gordon@FreeBSD.org>
CommitDate: 2024-08-24 05:35:07 +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.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D46317
---
release/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/release/Makefile b/release/Makefile
index a03951d17499..6f59647ff5db 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -123,7 +123,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 \