git: a2aabd2493a7 - main - release/pkg-stage: Stop creating pkg.txz symlink
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 May 2025 12:11:44 UTC
The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=a2aabd2493a790200b6ce34345fbaa53fe01e377 commit a2aabd2493a790200b6ce34345fbaa53fe01e377 Author: Ed Maste <emaste@FreeBSD.org> AuthorDate: 2025-05-05 18:06:11 +0000 Commit: Ed Maste <emaste@FreeBSD.org> CommitDate: 2025-05-06 12:04:42 +0000 release/pkg-stage: Stop creating pkg.txz symlink Contemporary pkg never uses any file other than pkg.pkg now. Reviewed by: Isaac Freund <ifreund@freebsdfoundation.org> Fixes: 0cd9513a5ba5 ("pkg: retire backwards compatibility bootstrap support") Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D50171 --- release/scripts/pkg-stage.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/release/scripts/pkg-stage.sh b/release/scripts/pkg-stage.sh index 9f121e5ab011..821f15e01bd8 100755 --- a/release/scripts/pkg-stage.sh +++ b/release/scripts/pkg-stage.sh @@ -81,12 +81,11 @@ ${PKGCMD} -vv ${PKGCMD} update -f ${PKGCMD} fetch -o ${PKG_REPODIR} -d ${DVD_PACKAGES} -# Create the 'Latest/pkg.txz' symlink so 'pkg bootstrap' works +# Create the 'Latest/pkg.pkg' symlink so 'pkg bootstrap' works # using the on-disc packages. export LATEST_DIR="${ROOTDIR}/${PKG_REPODIR}/Latest" mkdir -p ${LATEST_DIR} ln -s ../All/$(${PKGCMD} rquery %n-%v pkg).pkg ${LATEST_DIR}/pkg.pkg -ln -sf pkg.pkg ${LATEST_DIR}/pkg.txz ${PKGCMD} repo ${PKG_REPODIR}