git: 10fa3f2518d4 - main - certctl: Set METALOG ownership to root:wheel
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Dec 2024 17:32:34 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=10fa3f2518d4582c98d74527f79af9f30b1eceab
commit 10fa3f2518d4582c98d74527f79af9f30b1eceab
Author: Pat Maddox <pat@patmaddox.com>
AuthorDate: 2024-12-15 09:20:24 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-12-30 17:32:23 +0000
certctl: Set METALOG ownership to root:wheel
This sets the correct ownership values when building base.txz
PR: 283340
Reviewed by: allanjude
Pull request: https://github.com/freebsd/freebsd-src/pull/1550
Signed-off-by: Pat Maddox <pat@patmaddox.com>
---
usr.sbin/certctl/certctl.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/usr.sbin/certctl/certctl.sh b/usr.sbin/certctl/certctl.sh
index f95b4561d852..d336a02fd4ea 100755
--- a/usr.sbin/certctl/certctl.sh
+++ b/usr.sbin/certctl/certctl.sh
@@ -5,7 +5,7 @@
# Copyright 2018 Allan Jude <allanjude@freebsd.org>
#
# Redistribution and use in source and binary forms, with or without
-# modification, are permitted providing that the following conditions
+# modification, are permitted providing that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
@@ -334,7 +334,7 @@ fi
: ${METALOG:=${DESTDIR}/METALOG}
INSTALLFLAGS=
if "$UNPRIV" ; then
- INSTALLFLAGS="-U -M ${METALOG} -D ${DESTDIR}"
+ INSTALLFLAGS="-U -M ${METALOG} -D ${DESTDIR} -N ${DESTDIR}${DISTBASE}/etc -o root -g wheel"
fi
: ${LOCALBASE:=$(sysctl -n user.localbase)}
: ${TRUSTPATH:=${DESTDIR}${DISTBASE}/usr/share/certs/trusted:${DESTDIR}${LOCALBASE}/share/certs:${DESTDIR}${LOCALBASE}/etc/ssl/certs}