release: fix on-disc pkg binary symbolic links

PR:		263574
Reported by:	loader
MFC after:	immediately
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Glen Barber
2022-04-26 15:52:40 -04:00
parent e4b1ae2147
commit 68b0a79b7c
+3 -1
View File
@@ -86,7 +86,9 @@ ${PKGCMD} fetch -o ${PKG_REPODIR} -d ${DVD_PACKAGES}
# using the on-disc packages.
mkdir -p ${PKG_REPODIR}/Latest
(cd ${PKG_REPODIR}/Latest && \
ln -s ../All/$(${PKGCMD} rquery %n-%v pkg).txz pkg.txz)
ln -s ../All/$(${PKGCMD} rquery %n-%v pkg).pkg pkg.pkg)
(cd ${PKG_REPODIR}/Latest && \
rm -f pkg.txz && ln -s pkg.pkg pkg.txz)
${PKGCMD} repo ${PKG_REPODIR}