aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2014-10-17 03:55:33 +0000
committerGlen Barber <gjb@FreeBSD.org>2014-10-17 03:55:33 +0000
commitac23f4607a462e71d7fc7476fe3a13411a052d80 (patch)
tree2e658370f9a6c92473eb9772e5e63251542f5a18 /release/Makefile
parentf9246664f5d39311aa4315ee890763ab2774fc50 (diff)
downloadsrc-ac23f4607a462e71d7fc7476fe3a13411a052d80.tar.gz
src-ac23f4607a462e71d7fc7476fe3a13411a052d80.zip
Add more descriptive metadata to the ISO images.
PR: 146079 Submitted by: Roman Bogorodskiy MFC after: 3 days X-MFC-10.1: yes Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=273204
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/release/Makefile b/release/Makefile
index 8a517f810243..1bba6f1c785e 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
@@ -247,13 +249,13 @@ 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
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
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