svn commit: r253462 - stable/9/release

Hiroki Sato hrs at FreeBSD.org
Fri Jul 19 02:54:24 UTC 2013


Author: hrs
Date: Fri Jul 19 02:54:23 2013
New Revision: 253462
URL: http://svnweb.freebsd.org/changeset/base/253462

Log:
  Add cdrom.inf into CD/DVD installation media.  sysinstall(8) requires
  this file to recognize the volume number.
  
  Approved by:	re (marius)

Modified:
  stable/9/release/Makefile

Modified: stable/9/release/Makefile
==============================================================================
--- stable/9/release/Makefile	Fri Jul 19 01:04:17 2013	(r253461)
+++ stable/9/release/Makefile	Fri Jul 19 02:54:23 2013	(r253462)
@@ -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


More information about the svn-src-stable-9 mailing list