Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2023 09:45:34 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: a7fb33b94683 - stable/14 - pkgbase: force OSVERSION
Message-ID:  <202312020945.3B29jY6G011551@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=a7fb33b9468362416db157cdbcc1dbaa4665be2f

commit a7fb33b9468362416db157cdbcc1dbaa4665be2f
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-11-03 08:29:23 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-12-02 09:44:59 +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 7e62894405df..67fe06aa1135 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2193,6 +2193,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} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202312020945.3B29jY6G011551>