Re: Making install CDs contain the full sets

Izumi Tsutsui <[email protected]>
Newsgroups gmane.os.netbsd.devel.installation
Message-ID <[email protected]>
martin@ wrote:

> I think this is acceptable, and it saves quite some maintenance overhead,
> simplifies the makefiles and makes the CDs more generally usefull.
 :
> Comments? Review?

If build.sh iso-image uses the same method as live-image and
install-image, probably we need the similar warnings for these ports?
(I'm not sure how we can put port-specific warnings though)

---
	# live-image and install-image targets require binary sets
	# (actually DESTDIR/etc/mtree/set.* files) built with MKUNPRIVED.
	# If release operation is specified with live-image or install-image,
	# the release op should be performed with -U for later image ops.
	#
	if ${do_release} && ( ${do_live_image} || ${do_install_image} ) && \
	    [ "${MKUNPRIVED}" = "no" ] ; then
		bomb "-U must be specified on building release to create images later."
	fi

---
		live-image|install-image)
			# install-image and live-image require mtree spec files
			# built with UNPRIVED.  Assume UNPRIVED build has been
			# performed if METALOG file is created in DESTDIR.
			if [ ! -e "${DESTDIR}/METALOG" ] ; then
				bomb "The release binaries must have been built with -U to create images."
			fi
---
Izumi Tsutsui
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.