From owner-freebsd-current@FreeBSD.ORG Sun May 25 03:06:04 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 42F0B37B401; Sun, 25 May 2003 03:06:02 -0700 (PDT) Received: from yello.shallow.net (yello.shallow.net [203.18.243.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4147D43FA3; Sun, 25 May 2003 03:06:01 -0700 (PDT) (envelope-from joshua@shallow.net) Received: by yello.shallow.net (Postfix, from userid 1001) id C740A29BA; Sun, 25 May 2003 20:05:59 +1000 (EST) Date: Sun, 25 May 2003 20:05:59 +1000 From: Joshua Goodall To: Ruslan Ermilov Message-ID: <20030525100559.GL91207@roughtrade.net> References: <20030523203517.GA93787@attbi.com> <20030524034419.GA63643@sunbay.com> <20030524084432.GA509@roughtrade.net> <20030524174817.GA42456@sunbay.com> <20030525074823.GK91207@roughtrade.net> <20030525084344.GA26791@sunbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030525084344.GA26791@sunbay.com> User-Agent: Mutt/1.5.4i cc: freebsd-current@freebsd.org Subject: Re: Updating -CURRENT, what about outdated files? 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: Sun, 25 May 2003 10:06:05 -0000 On Sun, May 25, 2003 at 11:43:44AM +0300, Ruslan Ermilov wrote: > Bear in mind the conditionals of make(1) and sh(1)? Neither of which install files. I hope ;) > But you don't often know if installworld attemps to install it > or not, if it wasn't here: > > src/sys/boot/i386/loader/Makefile: > > beforeinstall: > ... > .if !exists(${DESTDIR}/boot/loader.rc) > ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \ > ${.CURDIR}/../../forth/loader.rc ${DESTDIR}/boot > .endif > > > Other than the general case of using install -C, can you > > point out any specific examples? I thought that was the point > > of mergemaster; to manage elements of the distribution where > > simply overwriting would be inappropriate. > Nope, mergemaster(8) deals with updating of /etc only, unless > I'm horribly mistaken (I don't use it personally, but pretty > much do what it does manually). What you just said implies that installing world+kernel, then running mergemaster, does not update every part of a FreeBSD base system installation, modulo ports and make.conf knobs. I knew that already about /stand. I didn't realise it extended elsewhere. Perhaps because I lack install-fu. I confess that my Astonishment meter just twitched a little. Any reason why /boot/loader.rc *shouldn't* be under mergemaster control? At any rate, I'd expect to catch-and-document special cases, if only through a find-and-diff. I might just have a crack at this during the week. I have a deep sense of it being needed. Joshua -- Joshua Goodall "tea makes itself" joshua@roughtrade.net - Ana Susanj