From owner-freebsd-current@FreeBSD.ORG Thu Jan 22 08:12:17 2004 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 3322116A4CE for ; Thu, 22 Jan 2004 08:12:17 -0800 (PST) Received: from dsl-mail.kamp.net (mail.kamp-dsl.de [195.62.99.42]) by mx1.FreeBSD.org (Postfix) with SMTP id E6E4743D1F for ; Thu, 22 Jan 2004 08:12:14 -0800 (PST) (envelope-from root@pukruppa.de) Received: (qmail 9867 invoked by uid 505); 22 Jan 2004 16:12:14 -0000 Received: from root@pukruppa.de by dsl-mail by uid 89 with qmail-scanner-1.14 (spamassassin: 2.43. Clear:SA:0(0.0/5.0):. Processed in 0.277325 secs); 22 Jan 2004 16:12:14 -0000 X-Spam-Status: No, hits=0.0 required=5.0 Received: from unknown (HELO reverse-213-146-114-24.dialin.kamp-dsl.de) (213.146.114.24) by dsl-mail.kamp.net with SMTP; 22 Jan 2004 16:12:14 -0000 Date: Thu, 22 Jan 2004 17:16:06 +0100 (CET) From: Peter Ulrich Kruppa X-X-Sender: root@pukruppa.net To: Richard Todd In-Reply-To: Message-ID: <20040122171002.O1074@pukruppa.net> References: <400C012E.4040002@mail.ru> <400C0E5F.5010606@potentialtech.com> <20040119221449.W1109@pukruppa.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-current@freebsd.org Subject: Re: question on mergemaster 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: Thu, 22 Jan 2004 16:12:17 -0000 On Wed, 21 Jan 2004, Richard Todd wrote: > Peter Ulrich Kruppa wrote: > >What about a file "mergemaster_ignore" where I put in the six or > >seven names of files that should never be touched? > > You can do this already with a little fiddling with the .mergemasterrc file. > I have a /root/.mergemasterrc file that looks like this: > ------------------------ > MM_PRE_COMPARE_SCRIPT=/usr/local/bin/mergemaster_precompare > ------------------------ > > MM_PRE_COMPARE_SCRIPT specifies a script that gets run after > the temproot dir gets populated but before mergemaster starts > comparing it against the current /etc contents. My > /usr/local/bin/mergemaster_precompare looks like this: > ------------------------ > #!/bin/sh cd /var/tmp/temproot > rm etc/master.passwd etc/group etc/ppp/ppp.conf > etc/mail/aliases etc/amd.map etc/hosts > ------------------------ > which removes > those files from the set of "new" files mergemaster considers > possibly installing. Ah, yes I see. Which options do you append to # mergemaster then? I cannot find anything like "install everything without asking" in the manpage. Regards, Uli. +---------------------------+ | Peter Ulrich Kruppa | | Wuppertal | | Germany | +---------------------------+