summaryrefslogtreecommitdiff
path: root/release
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2025-11-03 13:41:14 -0800
committerColin Percival <cperciva@FreeBSD.org>2025-11-03 16:31:52 -0800
commit7f536b1c1146c4bc5cde336e1fe7a083f2874f11 (patch)
tree4db8e1a7cfea3b5658b5a786aa7130f471617e95 /release
parent16f37d97b9500a4fe2d0719161025515d477a5cd (diff)
release: GCE builds depend on ftp
GCE images are required by Google to include their source code; we do this by extracting {src,ports}.txz into the images, from the (legacy) distribution sets. Make sure those distribution sets actually exist. Reviewed by: ivy MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D53567
Diffstat (limited to 'release')
-rw-r--r--release/Makefile.vm7
1 files changed, 7 insertions, 0 deletions
diff --git a/release/Makefile.vm b/release/Makefile.vm
index a04f779ebebb..142fd6e7bdf5 100644
--- a/release/Makefile.vm
+++ b/release/Makefile.vm
@@ -129,6 +129,13 @@ ${_CW:tu}${_FS:tu}${_FMT:tu}IMAGE= ${_CW:tl}.${_FS}.${_FMT}
cw-${_CW:tl}-${_FS}-${_FMT}: cw-ec2-base-${_FS}-${_FMT}
.endif
+# Special handling: GCE images ingest src.txz and ports.txz and expect them
+# to be in the /ftp/ directory. Note: This will need to be reworked before
+# distribution sets go away!
+.if ${_CW} == GCE
+cw-${_CW:tl}-${_FS}-${_FMT}: ftp
+.endif
+
cw-${_CW:tl}-${_FS}-${_FMT}: ${QEMUTGT} ${PKGBASE_REPO_DIR}
mkdir -p ${.OBJDIR}/${.TARGET}
env TARGET=${TARGET} TARGET_ARCH=${TARGET_ARCH} SWAPSIZE=${SWAPSIZE} \