release: rework distributions list

Components like base.txz and ports.txz are called distributions in the
installer, and with the introduction of pkgbase we will start dealing
with normal pkg packages in the installer.  Rename EXTRA_PACKAGES to
DISTRIBUTIONS, and move base.txz and kernel.txz to that list.

This introduces no functional change but is a small cleanup in advance
of some pkgbase experimentation.

Reviewed by:	cperciva
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D43544
This commit is contained in:
Ed Maste 2024-01-22 09:49:02 -05:00
parent 1f41c1c1a3
commit 2e9b8c8c1e

View file

@ -75,12 +75,12 @@ VOLUME_LABEL= FreeBSD_Install
NOPORTS= true
.endif
EXTRA_PACKAGES=
DISTRIBUTIONS= base.txz kernel.txz
.if !defined(NOPORTS)
EXTRA_PACKAGES+= ports.txz
DISTRIBUTIONS+= ports.txz
.endif
.if !defined(NOSRC)
EXTRA_PACKAGES+= src.txz
DISTRIBUTIONS+= src.txz
.endif
RELEASE_TARGETS= ftp
@ -284,7 +284,7 @@ mini-memstick: mini-memstick.img
mini-memstick.img: bootonly
cd bootonly && sh ${.CURDIR}/${TARGET}/make-memstick.sh .${NO_ROOT:D/METALOG} ../${.TARGET}
packagesystem: base.txz kernel.txz ${EXTRA_PACKAGES}
packagesystem: ${DISTRIBUTIONS}
sh ${.CURDIR}/scripts/make-manifest.sh *.txz > MANIFEST
touch ${.TARGET}