aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2025-11-03 21:42:56 +0000
committerColin Percival <cperciva@FreeBSD.org>2025-11-04 00:32:13 +0000
commit05b3a45cd065c93cc1262d31675e3e102784400a (patch)
tree406a197cca75b7e1036b073718ca410b33c2924f
parent7f536b1c1146c4bc5cde336e1fe7a083f2874f11 (diff)
release: Don't try to fetch distfiles for pkgbase
In order to comply with the require that GCE images must include their source code, we fetch distfiles for all of the packages installed into GCE images. This fails for obvious reasons for packages with an origin of base/*; filter those out to generate the list to fetch. Reviewed by: ivy MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D53568
-rw-r--r--release/tools/gce.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/tools/gce.conf b/release/tools/gce.conf
index b0a65c2981e1..ef1cf7e8f985 100644
--- a/release/tools/gce.conf
+++ b/release/tools/gce.conf
@@ -100,7 +100,7 @@ EOF
fi
if [ -e "${DESTDIR}/../ftp/ports.txz" ]; then
tar fxJ ${DESTDIR}/../ftp/ports.txz -C ${DESTDIR}
- _INSTALLED_PACKAGES=$(pkg -r ${DESTDIR} info -o -q -a)
+ _INSTALLED_PACKAGES=$(pkg -r ${DESTDIR} info -o -q -a | grep -v ^base/)
for PACKAGE in ${_INSTALLED_PACKAGES}; do
make -C ${DESTDIR}/usr/ports/${PACKAGE} fetch \
DISTDIR=${DESTDIR}/usr/ports/distfiles