From owner-freebsd-current@FreeBSD.ORG Wed Jul 11 10:34:24 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB12A16A400 for ; Wed, 11 Jul 2007 10:34:24 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from pne-smtpout1-sn1.fre.skanova.net (pne-smtpout1-sn1.fre.skanova.net [81.228.11.98]) by mx1.freebsd.org (Postfix) with ESMTP id 9BD8113C469 for ; Wed, 11 Jul 2007 10:34:24 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from [192.168.1.5] (217.211.83.81) by pne-smtpout1-sn1.fre.skanova.net (7.2.076.2) id 46758F190053756D; Wed, 11 Jul 2007 12:34:23 +0200 In-Reply-To: <4694AAF1.6050302@web.am> References: <20070419133550.GA65054@tirith.brixandersen.dk> <20070419200929.GA70735@tirith.brixandersen.dk> <4693BC3E.1050605@web.am> <200707110115.42139.pieter@degoeje.nl> <469417CB.7010705@FreeBSD.org> <4694AAF1.6050302@web.am> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <4C8E02EE-1026-4B2A-90D1-B9227816AA2B@exscape.org> Content-Transfer-Encoding: 7bit From: Thomas Backman Date: Wed, 11 Jul 2007 12:34:19 +0200 To: Gaspar Chilingarov X-Mailer: Apple Mail (2.752.3) Cc: freebsd-current Subject: Re: RFT: bin/106642: [patch] Allow excluding certain files from mergemaster (8) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 11 Jul 2007 10:34:24 -0000 On Jul 11, 2007, at 12:03 PM, Gaspar Chilingarov wrote: > In other hand running rm /etc/rc.d/* before mergermaster's start > can render system unusable, if mergemaster will fail for some reason. > > -- > Gaspar Chilingarov What about the opposite, i.e. removing etc/rc.d/* from the temproot? It might be a horrible solution, but it should work, no? ... make installworld mkdir /var/tmp/root cd /usr/src/etc make DESTDIR=/var/tmp/root distrib-dirs distribution cd /var/tmp/root find -d . -type d | xargs rmdir 2>/dev/null rm -rf /var/tmp/root/etc/rc.d mergemaster Obviously, tell mergemaster to use the current temproot. Again, this might be a horrible solution, I don't know. ;) /Thomas