release: fix on-disc pkg binary symbolic links

Approved by:	re (kib)
PR:		263574
Reported by:	loader
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 68b0a79b7c7ab75597e2511f880238fbf8cfad32)
(cherry picked from commit fab1a7b9b6)
This commit is contained in:
Glen Barber 2022-04-26 15:52:40 -04:00
parent 59288c719d
commit 27c537bf05
1 changed files with 3 additions and 1 deletions

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}