git: ee89da102bf0 - stable/13 - pkgbase: force OSVERSION
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 04 Dec 2023 10:39:36 UTC
The branch stable/13 has been updated by bapt:
URL: https://cgit.FreeBSD.org/src/commit/?id=ee89da102bf020a2289d5b5e618c421098cba1b9
commit ee89da102bf020a2289d5b5e618c421098cba1b9
Author: Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-11-03 08:29:23 +0000
Commit: Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-12-04 10:38:33 +0000
pkgbase: force OSVERSION
This is used to the package annotation helping pkg to know about
backward compatibility is set to the version of the packages not
the version of the host building the packages
(cherry picked from commit 188fe88ec50eac7c10e1d8350bf1180f8c16e463)
---
Makefile.inc1 | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.inc1 b/Makefile.inc1
index ccd65be4402f..ba842b7769a6 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2139,6 +2139,7 @@ sign-packages: _pkgbootstrap .PHONY
@[ -L "${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/latest" ] && \
unlink ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/latest ; \
${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname repo \
+ -o OSVERSION="${OSRELDATE}" \
-m ${WSTAGEDIR}/meta \
-o ${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/${PKG_VERSION} \
${REPODIR}/$$(${PKG_CMD} -o ABI_FILE=${WSTAGEDIR}/usr/bin/uname config ABI)/${PKG_VERSION} \