From owner-freebsd-current@FreeBSD.ORG Tue Jul 22 12:06:49 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A71837B405 for ; Tue, 22 Jul 2003 12:06:49 -0700 (PDT) Received: from mail.speakeasy.net (mail7.speakeasy.net [216.254.0.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4563843FAF for ; Tue, 22 Jul 2003 12:06:48 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 2438 invoked from network); 22 Jul 2003 19:06:47 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 22 Jul 2003 19:06:47 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h6MJ6jGI043114; Tue, 22 Jul 2003 15:06:45 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030722185005.GC80514@sunbay.com> Date: Tue, 22 Jul 2003 15:07:01 -0400 (EDT) From: John Baldwin To: Ruslan Ermilov cc: current@FreeBSD.org Subject: Re: make release broken [FIX] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 19:06:49 -0000 On 22-Jul-2003 Ruslan Ermilov wrote: > On Tue, Jul 22, 2003 at 02:45:52PM -0400, John Baldwin wrote: >> >> On 22-Jul-2003 Ruslan Ermilov wrote: >> > On Tue, Jul 22, 2003 at 02:26:34PM -0400, John Baldwin wrote: >> >> >> >> On 22-Jul-2003 Ruslan Ermilov wrote: >> >> > Hi! >> >> > >> >> > As many of you probably know, recent telnet commit broke snapshot >> >> > building. Since I needed a working "make release" to go on with >> >> > my task on floppy-less "make release" (for AMD64, etc.), I had to >> >> > just fix it. Attached is the patch. It also fixes another issue >> >> > with this telnet commit: it ensures that crypto telnet[d] do not >> >> > end up in the "base" distribution. >> >> >> >> Why not simply enable 'NO_FLOPPIES' on the arch's that don't want >> >> floppies? >> >> >> > Because NO_FLOPPIES doesn't mean like it sounds; it means "do not >> > create floppy _images_", and we want to skip much more than that. >> > I have a preliminary patch that is currently under the "make >> > release" test. Let me know (or anyone else) if you want to review >> > it or the final version before I commit it. >> >> Are you eliminating the mfsroot? >> > Yes. Ugh. >> All the bootable CD's use >> that right now, so what more are you doing than eliminating >> the floppy images? >> > Part of the patch for the iso.1 target has this (cut-n-pasted): > > @@ -885,10 +873,7 @@ > .if ${TARGET} != "pc98" > @echo "Setting up /boot" > @rm -f ${CD_DISC2}/boot/loader.conf > - @cp ${RD}/mfsroot/mfsroot.gz ${CD_DISC2}/boot/mfsroot.gz > - @echo 'mfsroot_load="YES"' > ${CD_DISC2}/boot/loader.conf > - @echo 'mfsroot_type="mfs_root"' >> ${CD_DISC2}/boot/loader.conf > - @echo 'mfsroot_name="/boot/mfsroot"' >> ${CD_DISC2}/boot/loader.conf > + @echo 'init_path="/usr/sbin/sysinstall"' > ${CD_DISC2}/boot/loader.conf > @cp -Rp ${CD_DISC2}/boot ${CD_DISC1} > .endif > .if !defined(NOPORTS) How does sysinstall work with this change? You do realize that we mount the MFS as /, then mount the disk under /mnt, chroot to /mnt, then mount the CD in /dist in the chroot and install from there? Are you going to mount the CD as root or something? It is probably a lot simpler to simply let sysinstall always execute in a MFS root. If you really want to rewrite the installation environment, then you might want to talk that over on a mailing list first to get some input. It's not a trivial task. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/