Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2023 08:30:31 GMT
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 188fe88ec50e - main - pkgbase: force OSVERSION
Message-ID:  <202311030830.3A38UVpr022628@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bapt:

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

commit 188fe88ec50eac7c10e1d8350bf1180f8c16e463
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2023-11-03 08:29:23 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2023-11-03 08:29:23 +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
---
 Makefile.inc1 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile.inc1 b/Makefile.inc1
index a49903a30903..c1c0b56efd1b 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2192,6 +2192,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?202311030830.3A38UVpr022628>