summaryrefslogtreecommitdiffstats
path: root/release
diff options
context:
space:
mode:
authorgjb <gjb@FreeBSD.org>2014-10-21 00:06:03 +0000
committergjb <gjb@FreeBSD.org>2014-10-21 00:06:03 +0000
commitf36e929e1c0d6ae6bc4d58b6ab7d3ea7bcc661f0 (patch)
tree1ecb824ceacb055e4576bef03234290f6bf7a006 /release
parentb12ccdd7ac76d7fa4d475966fa268538556c60da (diff)
downloadFreeBSD-src-f36e929e1c0d6ae6bc4d58b6ab7d3ea7bcc661f0.zip
FreeBSD-src-f36e929e1c0d6ae6bc4d58b6ab7d3ea7bcc661f0.tar.gz
MFC r273204:
Add more descriptive metadata to the ISO images. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'release')
-rw-r--r--release/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/release/Makefile b/release/Makefile
index ca18667..a1bcabe 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -62,6 +62,8 @@ OSRELEASE= ${TYPE}-${REVISION}-${BRANCH}-${TARGET}-${TARGET_ARCH}
.endfor
.endif
+VOLUME_LABEL= ${OSRELEASE:C/[-\.]/_/g:S/^$${TYPE}_//}
+
.if !exists(${DOCDIR})
NODOC= true
.endif
@@ -254,28 +256,31 @@ dvd:
release.iso: disc1.iso
disc1.iso: system
- sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} release
+ sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b ${VOLUME_LABEL}_CD ${.TARGET} release
uefi-disc1.iso: system
.if exists(${.CURDIR}/${TARGET}/mkisoimages-uefi.sh)
- sh ${.CURDIR}/${TARGET}/mkisoimages-uefi.sh -b FreeBSD_Install ${.TARGET} release
+ sh ${.CURDIR}/${TARGET}/mkisoimages-uefi.sh -b ${VOLUME_LABEL}_UEFICD \
+ ${.TARGET} release
.endif
uefi-bootonly.iso: bootonly
.if exists(${.CURDIR}/${TARGET}/mkisoimages-uefi.sh)
- sh ${.CURDIR}/${TARGET}/mkisoimages-uefi.sh -b FreeBSD_Install ${.TARGET} bootonly
+ sh ${.CURDIR}/${TARGET}/mkisoimages-uefi.sh -b ${VOLUME_LABEL}_UEFICD \
+ ${.TARGET} bootonly
.endif
dvd1.iso: dvd pkg-stage
- sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} dvd
+ sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b ${VOLUME_LABEL}_DVD ${.TARGET} dvd
uefi-dvd1.iso: dvd pkg-stage
.if exists(${.CURDIR}/${TARGET}/mkisoimages-uefi.sh)
- sh ${.CURDIR}/${TARGET}/mkisoimages-uefi.sh -b FreeBSD_Install ${.TARGET} dvd
+ sh ${.CURDIR}/${TARGET}/mkisoimages-uefi.sh -b ${VOLUME_LABEL}_UEFIDVD \
+ ${.TARGET} dvd
.endif
bootonly.iso: bootonly
- sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} bootonly
+ sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b ${VOLUME_LABEL}_BO ${.TARGET} bootonly
memstick: memstick.img
memstick.img: system
OpenPOWER on IntegriCloud