From owner-freebsd-current Sat Oct 2 2:51:29 1999 Delivered-To: freebsd-current@freebsd.org Received: from peach.ocn.ne.jp (peach.ocn.ne.jp [210.145.254.87]) by hub.freebsd.org (Postfix) with ESMTP id 3255B14F71 for ; Sat, 2 Oct 1999 02:51:00 -0700 (PDT) (envelope-from dcs@newsguy.com) Received: from newsguy.com (p23-dn02kiryunisiki.gunma.ocn.ne.jp [210.163.200.120]) by peach.ocn.ne.jp (8.9.1a/OCN) with ESMTP id SAA16365; Sat, 2 Oct 1999 18:50:40 +0900 (JST) Message-ID: <37F5C9F5.6A2BA9AA@newsguy.com> Date: Sat, 02 Oct 1999 18:01:41 +0900 From: "Daniel C. Sobral" X-Mailer: Mozilla 4.6 [en] (Win98; I) X-Accept-Language: en,pt-BR,ja MIME-Version: 1.0 To: Marcel Moolenaar Cc: Daniel Eischen , des@flood.ping.uio.no, current@FreeBSD.ORG Subject: Re: new sigset_t and upgrading: a proposal References: <199910011936.PAA11014@pcnet1.pcnet.com> <37F52173.8F4B6FF8@scc.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Marcel Moolenaar wrote: > > > But this still doesn't entirely solve the problem. You still have > > to build and install a new kernel before installing the world. > > While this is typically what most -current folks do anyways, it > > still prevents backing up to a previous kernel after the install > > world. > > You can easily install a kernel as part of the upgrade process. A > complete upgrade would be something like: > > 1. Verify and/or install cross-compilation tools > 2. Build world > 3. Build kernel > 4. Copy tools that are used by the install process > 5. install kernel > 6. install world > 7. reboot > > If you install a kernel before installing world, you can easily recover > when the install world fails: reboot. The new kernel is capable of > running those binaries that got installed before the breakage. You missed the point. This is -current, right? You do all of the above, and then reboot and find out that the new kernel doesn't work. What do you do? The default procedure is to boot kernel.old. > > This is why I kind of like (was it?) Peter Wemms libc hack. > > It's a solution that may work out very well, yes. But it seems to me > that cross-compilation is on everybodies wishlist for as long as FreeBSD > exists (well almost :-) That's why I'm pressing it. This doesn't rule > out interim solutions of course. Real cross-compilation may not be worth > the effort/problems, but you can't really tell if you haven't tried > it... >From where I stand, it doesn't seem that cross-compilation will solve the problem of world needing to be built before kernel (and that includes installworld). -- Daniel C. Sobral (8-DCS) dcs@newsguy.com dcs@freebsd.org Rule 69: Do unto other's code as you'd have it done unto yours To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message