From owner-freebsd-arch@FreeBSD.ORG Wed Mar 2 15:37:05 2011 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E45B106564A; Wed, 2 Mar 2011 15:37:05 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id F07B28FC12; Wed, 2 Mar 2011 15:37:04 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LHF00M0KSPSJA00@smtpauth1.wiscmail.wisc.edu>; Wed, 02 Mar 2011 09:37:04 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-75-50-89-165.dsl.mdsnwi.sbcglobal.net [75.50.89.165]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LHF0082KSPM8T60@smtpauth1.wiscmail.wisc.edu>; Wed, 02 Mar 2011 09:36:59 -0600 (CST) Date: Wed, 02 Mar 2011 09:36:58 -0600 From: Nathan Whitehorn In-reply-to: <201102281020.12599.jhb@freebsd.org> To: John Baldwin Message-id: <4D6E641A.4060109@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=75.50.89.165 X-Spam-PmxInfo: Server=avs-13, Version=5.6.0.2009776, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2011.3.2.152715, SenderIP=75.50.89.165 References: <4D6BB5E3.6020408@freebsd.org> <201102281020.12599.jhb@freebsd.org> User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.14) Gecko/20110301 Thunderbird/3.1.8 Cc: freebsd-current@freebsd.org, freebsd-sysinstall@freebsd.org, FreeBSD Arch Subject: Re: Request for review/testing: switching the default installer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2011 15:37:05 -0000 On 02/28/11 09:20, John Baldwin wrote: > On Monday, February 28, 2011 9:49:07 am Nathan Whitehorn wrote: >> BSDinstall has acquired at this point its final form (prior to a future >> merge with pc-sysinstall), and I believe is ready to replace sysinstall >> on the 9.0 snapshot ISOs. Barring any objections, I would like to pull >> this switch 2 weeks from today, on the 14th of March. >> >> A patch to the release infrastructure code can be found here (make >> release must be run with Makefile.bsdinstall using this patch to get >> non-sysinstall media): >> http://people.freebsd.org/~nwhitehorn/bsdinstall-release.diff > Hmm, does your installed world include the pre-built mergemaster database? > That should really be preserved. > > It happens here in the old release Makefile: > > # Install the system into the various distributions. > release.2: > cd ${.CURDIR}/..&& ${CROSSMAKE} distrib-dirs DESTDIR=${RD}/trees/base > cd ${.CURDIR}/..&& ${CROSSMAKE} ${WORLD_FLAGS} distributeworld \ > DISTDIR=${RD}/trees > sh ${.CURDIR}/scripts/mm-mtree.sh -F "${CROSSENV}" -D > "${RD}/trees/base" > touch ${.TARGET} > > I use a one-line patch locally to bootstrap etcupdate into the worlds I > package up at work via a similar one-liner. And this is why sending out patches for review is a good idea. I've updated my code to call into this script, though it would be nice if, say, make distribution handled this. Thanks for pointing it out. >> Test ISOs for amd64 and i386 can be found here: >> http://people.freebsd.org/~nwhitehorn/bsdinstall-amd64-20110222.iso.bz2 >> http://people.freebsd.org/~nwhitehorn/bsdinstall-i386-20110224.iso.bz2 >> >> More recent test ISOs, as well as ones for other architectures, may be >> available at: >> http://wiki.freebsd.org/BSDInstall >> >> Bug reports would be very appreciated at this time. There are three >> known bugs currently, which will be fixed soon, so please don't report >> these: error reporting is not graceful if there are no writable disks in >> the system, you must select at least one optional component, and the doc >> build is not currently connected to the releases. >> >> There are some changes to the distribution format involved in this >> patch, which are outlined below, and about which I would also appreciate >> feedback: >> - The src tree is not split up into pieces (e.g. ssbin) as with sysinstall > I would at least like to have src split up into two pieces: > > 1) would be equivalent of sbase and ssys of old distributions, so you could > choose to just install kernel sources along with the top-level Makefile bits > to build kernels. I commonly install this subset on production machines so I > can install a custom kernel in a pinch. > > 2) would be everything else in the source tree. This is a little bit tricky, since it involves inter-distribution dependencies which don't currently exist (e.g. you need sbase for ssys to be useful, and for severythingelse to be useful). I suppose that the top-level Makefile bits are small and could end up in both archives, where one can overwrite the other with the same thing. Would that solve your problem? -Nathan