diff options
-rw-r--r-- | release/Makefile | 18 | ||||
-rw-r--r-- | share/man/man7/release.7 | 16 |
2 files changed, 30 insertions, 4 deletions
diff --git a/release/Makefile b/release/Makefile index 366ff58..9ab12269 100644 --- a/release/Makefile +++ b/release/Makefile @@ -115,6 +115,12 @@ DOMINIMALDOCPORTS= YES RELEASEPORTSMODULE= ${MINIMALDOCPORTS} .endif +# Make changing names of disc1/disc2 CD's possible. +DISC1_LABEL?= fbsd_miniinst +DISC1_NAME?= miniinst +DISC2_LABEL?= fbsd_livefs +DISC2_NAME?= disc2 + # Helper variable .if defined(NOPORTS) .if !defined(DOMINIMALDOCPORTS) || ${DOMINIMALDOCPORTS} != "YES" @@ -416,6 +422,10 @@ release rerelease: BOOT_CONFIG \ BUILDNAME \ CD_EXTRA_BITS \ + DISC1_LABEL \ + DISC1_NAME \ + DISC2_LABEL \ + DISC2_NAME \ DISTRIBUTIONS \ DOC_LANG \ DOMINIMALDOCPORTS \ @@ -925,11 +935,11 @@ iso.1: ${CD}/${BUILDNAME}-${TARGET}-bootonly.iso ${CD_BOOT} .endif @sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \ - fbsd_miniinst \ - ${CD}/${BUILDNAME}-${TARGET}-miniinst.iso ${CD_DISC1} + ${DISC1_LABEL} \ + ${CD}/${BUILDNAME}-${TARGET}-${DISC1_NAME}.iso ${CD_DISC1} @sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \ - fbsd_livefs \ - ${CD}/${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2} + ${DISC2_LABEL} \ + ${CD}/${BUILDNAME}-${TARGET}-${DISC2_NAME}.iso ${CD_DISC2} .if defined(CD_EXTRA_BITS) @sh ${.CURDIR}/${TARGET_ARCH}/mkisoimages.sh ${BOOTABLE} \ fbsd_boot \ diff --git a/share/man/man7/release.7 b/share/man/man7/release.7 index cc8aa91..9c060ce 100644 --- a/share/man/man7/release.7 +++ b/share/man/man7/release.7 @@ -283,6 +283,22 @@ environment immediately after any local patches are applied. .It Va MAKE_ISOS If defined, bootable ISO CD-ROM images will be created from the contents of the CD-ROM stage directory. +.It Va DISC1_LABEL +The label used for the CD-ROM created from the disc1 contents, the +default label will be +.Dq fbsd_miniinst . +.It Va DISC1_NAME +The name used as part of the ISO file name for the CD-ROM created from +the disc1 contents, the default will be +.Dq miniinst . +.It Va DISC2_LABEL +The label used for the CD-ROM created from the disc2 contents, the +default label will be +.Dq fbsd_livefs . +.It Va DISC2_NAME +The name used as part of the ISO file name for the CD-ROM created from +the disc2 contents, the default will be +.Dq disc2 . .It Va NOCDROM If defined, the CD-ROM stage directories will not be created. .It Va NODOC |