From owner-freebsd-current@FreeBSD.ORG Sat Aug 21 19:07:04 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 1081016A4D3; Sat, 21 Aug 2004 19:07:04 +0000 (GMT) Received: from sardine.webcom.it (gen053.n002.c03.escapebox.net [213.73.82.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EF7B43D39; Sat, 21 Aug 2004 19:07:03 +0000 (GMT) (envelope-from "") Received: from [213.140.17.96] (helo=brian) by webcom.it with asmtp (Exim 3.36 #1) id 1BybCg-000860-00; Sat, 21 Aug 2004 19:07:02 +0000 Date: Sat, 21 Aug 2004 21:07:01 +0200 From: Andrea Campi To: Thomas Quinot , current@freebsd.org Message-ID: <20040821190700.GF690@webcom.it> References: <200408162241.i7GMfwew040281@repoman.freebsd.org> <20040821161140.GA690@webcom.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040821161140.GA690@webcom.it> User-Agent: Mutt/1.5.6i Received: from andrea by webcom.it with asmtp (Exim 3.36 #1) id 1BybCg-000860-00; Sat, 21 Aug 2004 19:07:02 +0000 Subject: [PATCH] Re: cvs commit: src/tools/tools/nanobsd Makefile i386.diskimage 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: Sat, 21 Aug 2004 19:07:04 -0000 On Sat, Aug 21, 2004 at 06:11:40PM +0200, Andrea Campi wrote: > What do you think? I can send you a diff if you prefer. I went on and filed a PR (bin/70795) with a patch for this. One thing I didn't put in the patch: in Makefile we call mtree for /usr/include, I don't really see what's its purpose, I'd say it could be removed. I am also thinking of extending customize.sh to allow for removal of an existing file, removal of files matching a line from a given file, and removal of files that don't. The last one is expecially useful, as it allows you to create a file with the binaries you want to install and remove everything else. I've been using an homegrown variant of that for a while, together with a oneliner that finds out unused libraries and remove them. Bye, Andrea -- There's no place like ~