git: 9c56bf2d1f3b - stable/15 - release: Allow pkg build on "wrong" major
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Sep 2025 23:28:04 UTC
The branch stable/15 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=9c56bf2d1f3b2bbb72a628c148aca7a87878d551 commit 9c56bf2d1f3b2bbb72a628c148aca7a87878d551 Author: Colin Percival <cperciva@FreeBSD.org> AuthorDate: 2025-09-18 23:37:46 +0000 Commit: Colin Percival <cperciva@FreeBSD.org> CommitDate: 2025-09-20 13:50:56 +0000 release: Allow pkg build on "wrong" major While we usually build FreeBSD releases on the same major version, we do need to be able to e.g. build 15 on 16. Tell the ports tree that we know what we're doing. (We don't, not really, but we can at least pretend...) MFC after: 6 hours Sponsored by: https://www.patreon.com/cperciva (cherry picked from commit 5918b4866a9689b50180da42aad6d742466b0d1b) --- release/scripts/make-pkg-package.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/release/scripts/make-pkg-package.sh b/release/scripts/make-pkg-package.sh index a0ac0fc16305..7712054d26c0 100755 --- a/release/scripts/make-pkg-package.sh +++ b/release/scripts/make-pkg-package.sh @@ -13,6 +13,7 @@ export WRKDIR=$(make -C ${PORTSDIR}/ports-mgmt/pkg -V WRKDIR) make -C ${PORTSDIR}/ports-mgmt/pkg TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} \ CONFIGURE_ARGS="--host=$(uname -m)-portbld-freebsd${REVISION}" \ + I_DONT_CARE_IF_MY_BUILDS_TARGET_THE_WRONG_RELEASE=YES \ BATCH=YES stage create-manifest ${PKG_CMD} -o ABI=${PKG_ABI} \