Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 2025 17:48:39 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        FreeBSD-pkg@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Should  /usr/src/tools/tools/sysbuild/sysbuild.sh be using "pkg add" with .txz like it is --or should it be .pkg ?
Message-ID:  <886A331A-E5AC-4C56-8ED0-958159E4DF06@yahoo.com>

index | next in thread | raw e-mail

The sysbuild.sh has the logic:

                if [ "x${PKG_DIR}" != "x" -a -f ${PKG_DIR}/$pn.txz ] ; then
                        if [ "x$use_pkg" = "x-p" ] ; then
                                log_it "Install $t ($pn)"
                                (
                                set +e
                                pkg add ${PKG_DIR}/$pn.txz || true
                                ) > _.$b 2>&1 < /dev/null
                                continue
                        fi
                fi

which is the only "pkg add" in the code. Ignoring
$FreeBSD$ removals, the script was last modified on
2021-06-30 .

(I ran into this while looking for something else via
a fairly general grep. I'm not using the script.)

===
Mark Millard
marklmi at yahoo.com



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?886A331A-E5AC-4C56-8ED0-958159E4DF06>