Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2025 03:16:22 GMT
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 4a62dbb24598 - stable/15 - release: Respect NODISTSETS
Message-ID:  <202510070316.5973GMsw089419@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/15 has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=4a62dbb24598b5fbfd10575ec33233c24dca2705

commit 4a62dbb24598b5fbfd10575ec33233c24dca2705
Author:     Colin Percival <cperciva@FreeBSD.org>
AuthorDate: 2025-10-03 23:56:53 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2025-10-07 03:15:38 +0000

    release: Respect NODISTSETS
    
    In addition to not putting distribution sets onto ISO images, if
    NODISTSETS is set then we should not build the distribution sets
    or put them onto the "FTP" site (aka download.freebsd.org).
    
    MFC after:      3 days
    Sponsored by:   https://www.patreon.com/cperciva
    
    (cherry picked from commit e64eb9ea0f4c88a9fa32ae3ae517cbe15a193a08)
---
 release/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/release/Makefile b/release/Makefile
index fb95deb76b68..73d92ad1eb52 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -116,7 +116,10 @@ DISTRIBUTIONS+= ports.txz
 DISTRIBUTIONS+= src.txz
 .endif
 
-RELEASE_TARGETS= ftp
+RELEASE_TARGETS=
+.if !defined(NODISTSETS) || empty(NODISTSETS)
+RELEASE_TARGETS+= ftp
+.endif
 IMAGES=
 .if exists(${.CURDIR}/${TARGET}/mkisoimages.sh)
 RELEASE_TARGETS+= cdrom
@@ -452,7 +455,9 @@ release-install:
 .if defined(DESTDIR) && !empty(DESTDIR)
 	mkdir -p ${DESTDIR}
 .endif
+.if !defined(NODISTSETS) || empty(NODISTSETS)
 	cp -a ftp ${DESTDIR}/
+.endif
 .if !empty(IMAGES)
 .for I in ${IMAGES}
 	cp -p ${I} ${DESTDIR}/${OSRELEASE}-${I}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510070316.5973GMsw089419>