Date: Thu, 17 Sep 2009 15:47:10 +0800 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net> Cc: freebsd-current@freebsd.org Subject: Re: About the usb img. Message-ID: <87bplaqagx.fsf@kobe.laptop> In-Reply-To: <200909162004.09757.mel.flynn%2Bfbsd.current@mailing.thruhere.net> (Mel Flynn's message of "Wed, 16 Sep 2009 20:04:09 %2B0200") References: <200909162004.09757.mel.flynn%2Bfbsd.current@mailing.thruhere.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 16 Sep 2009 20:04:09 +0200, Mel Flynn <mel.flynn+fbsd.current@mailing.thruhere.net> wrote: > Hi, > How is the USB img built? I find no mention of this in > /usr/src/release and http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/release-build.html > is rather stale. Hi Mel, You are right that the releng article needs a few updates. You can see the commands that builds the UFS miniroot image in `src/release/Makefile' near line 1095: 1086 # 1087 # --==## Setup a suitable cdrom-area ##==-- 1088 # 1089 cdrom.3: 1090 .if defined(CD_BOOT) 1091 @echo "Building bootonly CDROM filesystem image" 1092 @mkdir -p ${CD_BOOT} 1093 @cp -Rp ${CD_LIVEFS}/boot ${CD_BOOT} 1094 @echo "CD_VERSION = ${BUILDNAME}" > ${CD_BOOT}/cdrom.inf X 1095 .if defined(MINIROOT) X 1096 @echo "Building bootonly UFS filesystem image" X 1097 @mkdir -p ${FD}/miniroot X 1098 @sh -e ${DOFS_SH} ${FD}/miniroot/miniroot.ufs \ X 1099 ${RD} ${MNT} 0 ${CD_BOOT} 8192 auto X 1100 @${ZIPPER} -v ${FD}/miniroot/miniroot.ufs X 1101 .endif 1102 .endif 1103 touch ${.TARGET} The UFS miniroot is now built as part of the `cdrom.3' target, but it may make sense to split it off to a target of its own if we want to make it possible to build a UFS miniroot _without_ a CD-ROM ISO image.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87bplaqagx.fsf>