git: 18721be35604 - main - release: Turn off debugging in pkg(8)

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Fri, 06 Feb 2026 21:05:35 UTC
The branch main has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=18721be356043f6749a6e2470bc9f7351c450c6e

commit 18721be356043f6749a6e2470bc9f7351c450c6e
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2026-02-06 21:03:11 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2026-02-06 21:05:26 +0000

    release: Turn off debugging in pkg(8)
    
    Running `pkg -d` in pkg-stage.sh results in multiple GB of network
    traffic being written into the log files, which is less than helpful
    when it comes to tracking down build failures.  Remove the -d flag.
    
    MFC after:      5 days
    X-MFC-note:     The code in 15 has diverged from 14, but the flag is
                    there, just in a different place.
---
 release/scripts/pkg-stage.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/release/scripts/pkg-stage.sh b/release/scripts/pkg-stage.sh
index 00b83d9c51f0..5c4ec76150da 100755
--- a/release/scripts/pkg-stage.sh
+++ b/release/scripts/pkg-stage.sh
@@ -59,7 +59,7 @@ while getopts N opt; do
 	esac
 done
 
-PKG_ARGS="-d --rootdir ${ROOTDIR}"
+PKG_ARGS="--rootdir ${ROOTDIR}"
 PKG_ARGS="$PKG_ARGS -o INSTALL_AS_USER=1"
 PKGCMD="/usr/sbin/pkg ${PKG_ARGS}"