git: c2e6178e6802 - stable/15 - release.sh: Bootstrap pkg from the ports tree
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 20 Sep 2025 23:28:09 UTC
The branch stable/15 has been updated by cperciva:
URL: https://cgit.FreeBSD.org/src/commit/?id=c2e6178e6802f70396f021adcf67be4434807d5c
commit c2e6178e6802f70396f021adcf67be4434807d5c
Author: Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2025-09-20 04:20:07 +0000
Commit: Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-09-20 13:51:07 +0000
release.sh: Bootstrap pkg from the ports tree
When building OCI continers, we create a pkgbase repository; but we
need pkg in order to do this, and it may not be fetchable. Bootstrap
it from the ports tree instead.
Note that this pkgbase repository is not the same one as we ship as
part of the release build; this duplication of package-creation will
be fixed at a later date.
MFC after: 6 hours
Sponsored by: https://www.patreon.com/cperciva
(cherry picked from commit 08adaf71e2e5a44ea27df0e2b09fbe8279a2523e)
---
release/release.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/release/release.sh b/release/release.sh
index f4786685e612..3934d066420a 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -328,7 +328,9 @@ chroot_build_target() {
eval chroot ${CHROOTDIR} make -C /usr/src ${RELEASE_WMAKEFLAGS} buildworld
eval chroot ${CHROOTDIR} make -C /usr/src ${RELEASE_KMAKEFLAGS} buildkernel
if [ -n "${WITH_OCIIMAGES}" ]; then
- eval chroot ${CHROOTDIR} make -C /usr/src ${RELEASE_WMAKEFLAGS} packages
+ mkdir ${CHROOT}/tmp/ports ${CHROOT}/tmp/distfiles
+ eval chroot ${CHROOTDIR} make -C /usr/src ${RELEASE_WMAKEFLAGS} \
+ BOOTSTRAP_PKG_FROM_PORTS=YES packages
fi
return 0