From owner-freebsd-stable@FreeBSD.ORG Sun Jan 31 02:44:57 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E5D41065672 for ; Sun, 31 Jan 2010 02:44:57 +0000 (UTC) (envelope-from kensmith@buffalo.edu) Received: from localmailA.acsu.buffalo.edu (localmailA.acsu.buffalo.edu [128.205.5.196]) by mx1.freebsd.org (Postfix) with ESMTP id D1BB48FC1B for ; Sun, 31 Jan 2010 02:44:56 +0000 (UTC) Received: from localmailA.acsu.buffalo.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 115B9B064; Sat, 30 Jan 2010 21:44:56 -0500 (EST) Received: from localmailA.acsu.buffalo.edu (localhost [127.0.0.1]) by localmailA.acsu.buffalo.edu (Postfix) with ESMTP id 7605EB068; Sat, 30 Jan 2010 21:44:54 -0500 (EST) Received: from mweb2.acsu.buffalo.edu (mweb2.acsu.buffalo.edu [128.205.5.239]) by localmailA.acsu.buffalo.edu (Prefixe) with ESMTP id 6FE9FB064; Sat, 30 Jan 2010 21:44:54 -0500 (EST) Received: from [128.205.32.76] (bauer.cse.buffalo.edu [128.205.32.76]) by mweb2.acsu.buffalo.edu (Postfix) with ESMTP id 4D8BE207B6; Sat, 30 Jan 2010 21:44:54 -0500 (EST) From: Ken Smith To: Ian Smith In-Reply-To: <20100130164546.K46992@sola.nimnet.asn.au> References: <1264828108.4948.18.camel@neo.cse.buffalo.edu> <20100130164546.K46992@sola.nimnet.asn.au> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-d3V5gKSIdttV26ZhEn4O" Date: Sat, 30 Jan 2010 21:44:53 -0500 Message-Id: <1264905893.19953.23.camel@bauer.cse.buffalo.edu> Mime-Version: 1.0 X-Mailer: Evolution 2.24.5 FreeBSD GNOME Team Port X-PM-EL-Spam-Prob: : 8% Cc: freebsd-stable Subject: Re: 7.3-BETA1 Available... [memstick.img?] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 Jan 2010 02:44:57 -0000 --=-d3V5gKSIdttV26ZhEn4O Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2010-01-30 at 17:17 +1100, Ian Smith wrote: > are there any plans afoot to release memstick.img/s for 7.3-R? >=20 > If so, where should I look for information on how it may be done? >=20 > If not, is there something about RELENG_7 precluding that? USB stack? No, no plans afoot for memsticks for the balance of the 7.X releases. The sysinstall support for installing from a USB based disk didn't get MFCed to stable/7. Even if it was we're already something of a heavyweight on images (both CDs-with-packages and DVD) so my plan all along had been to phase in the memstick image for stable/8 and at the same time drop CDs-with-packages. > My search for information on the particular recipe/s used to make the=20 > 8.0-R memstick images has proven fruitless so far, despite several=20 > useful suggestions on ways to make various other sorts of bootable USB=20 > stick images. So far they seem to have been made out-of-band, somehow? >=20 > My particular interest is in putting DVD release/s onto a 4GB(+) stick,=20 > hopefully on bootable slices rather than 'dangerously dedicated' form. I was more or less experimenting with the memsticks for 8.0 and never quite got around to packaging up what I do into a script. I'll try to get something along those lines into the tree some time soon. Release builds are done in two passes - the first pass creates all the directories needed but stops there giving me a chance to add stuff to those directories. That's where I put the packages into place if there are going to be any. After doing that the second pass runs which builds the ISO images. After the first pass I briefly put the packages directory that is supposed to be on disc1 (which is just the docs packages, sysinstall gets grumpy if those aren't present) into the dvd1 directory and do this: makefs foo.fs dvd1 dd if=3D/dev/zero of=3D8.0-RELEASE-amd64-memstick.img \ bs=3D10240 count=3D mdconfig -a -t vnode -f 8.0-RELEASE-amd64-memstick.img fdisk -BIq /dev/md0 bsdlabel -B -w /dev/md0 dd if=3Dfoo.fs of=3D/dev/md0a bs=3D10240 conv=3Dsync mdconfig -d -u 0 The number should be calculated to be two blocks larger than the size of foo.fs so you've got room for round-up error and enough space for the label. After doing that I put the packages directory I'd used where it's supposed to be (disc1), put the proper set of packages for the DVD into the dvd1 directory, and then run the second pass of the release build to generate the ISO images. --=20 Ken Smith - From there to here, from here to | kensmith@buffalo.edu there, funny things are everywhere. | - Theodore Geisel | --=-d3V5gKSIdttV26ZhEn4O Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAktk7qUACgkQ/G14VSmup/b3xgCgjdr2341EB1mQkoBD1JJEapXh 7kUAni/wvjuiiCJFN6bh/CYNCNrOvsV7 =qcSe -----END PGP SIGNATURE----- --=-d3V5gKSIdttV26ZhEn4O--