Skip to content
Browse files

Add cdrom.inf into CD/DVD installation media. sysinstall(8) requires

this file to recognize the volume number.

Approved by:	re (marius)
  • Loading branch information...
1 parent 28f9610 commit 3ffe17dea403285581c1fb0a071858fd76e7443d @hrs-allbsd hrs-allbsd committed Jul 19, 2013
Showing with 10 additions and 2 deletions.
  1. +10 −2 release/Makefile
View
12 release/Makefile
@@ -161,10 +161,18 @@ bootonly: packagesystem
echo hostid_enable=\"NO\" >> bootonly/etc/rc.conf
cp ${.CURDIR}/rc.local bootonly/etc
-release.iso: system
+release/cdrom.inf: system
+ echo "CD_VERSION = ${REVISION}-${BRANCH}" > ${.TARGET}
+ echo "CD_VOLUME = 1" >> ${.TARGET}
+
+release.iso: system release/cdrom.inf
sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} release
-bootonly.iso: bootonly
+bootonly/cdrom.inf: bootonly
+ echo "CD_VERSION = ${REVISION}-${BRANCH}" > ${.TARGET}
+ echo "CD_VOLUME = 1" >> ${.TARGET}
+
+bootonly.iso: bootonly bootonly/cdrom.inf
sh ${.CURDIR}/${TARGET}/mkisoimages.sh -b FreeBSD_Install ${.TARGET} bootonly
memstick: system

0 comments on commit 3ffe17d

Please sign in to comment.
Something went wrong with that request. Please try again.