From owner-freebsd-current@FreeBSD.ORG Tue Nov 25 08:09:41 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 09DC616A4CE for ; Tue, 25 Nov 2003 08:09:41 -0800 (PST) Received: from praetor.linc-it.com (adsl-068-157-070-217.sip.jan.bellsouth.net [68.157.70.217]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF76043FCB for ; Tue, 25 Nov 2003 08:09:38 -0800 (PST) (envelope-from fullermd@over-yonder.net) Received: from mortis.over-yonder.net (adsl-19-162-175.jan.bellsouth.net [68.19.162.175]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by praetor.linc-it.com (Postfix) with ESMTP id 2F1131521C; Tue, 25 Nov 2003 10:09:37 -0600 (CST) Received: by mortis.over-yonder.net (Postfix, from userid 100) id 1A76B20F2F; Tue, 25 Nov 2003 10:09:35 -0600 (CST) Date: Tue, 25 Nov 2003 10:09:34 -0600 From: "Matthew D. Fuller" To: freebsd-current@freebsd.org Message-ID: <20031125160934.GH12248@over-yonder.net> References: <3FBE8D92.6080205@acm.org> <20031123012222.GB11523@dragon.nuxi.com> <20031123042635.GB677@saboteur.dek.spc.org> <3FC16644.7070005@acm.org> <20031124114006.GA60761@dragon.nuxi.com> <20031124210748.GG15294@wombat.localnet> <20031124224144.GC67578@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20031124224144.GC67578@dragon.nuxi.com> User-Agent: Mutt/1.4.1i-fullermd.1 X-Editor: vi X-OS: FreeBSD cc: Tim Kientzle Subject: Re: HEADS UP: /bin and /sbin are now dynamically linked 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: Tue, 25 Nov 2003 16:09:41 -0000 On Mon, Nov 24, 2003 at 02:41:44PM -0800 I heard the voice of David O'Brien, and lo! it spake thus: > On Mon, Nov 24, 2003 at 04:07:49PM -0500, Michael Edenfield wrote: > > > > Would it be possible, through some make.conf magic, for the end-user to > > set extra programs to be put into /rescue that are not typically there? > > > > RESCUE_EXTRAPRGS= usr.bin/vi usr.bin/fetch > > This list could easily need things added to librescue. If you can delay building the rescue stuff until after everything else, you can use ldd(1) on the built binaries for everything else and hash up the list from that. I do something similar in a set of scripts I have to generate filesystems for small systems (i.e., I create a variable in a Makefile listing all the programs, and it automatically includes all the libraries the programs need) with a little sed/awk. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ "The only reason I'm burning my candle at both ends, is because I haven't figured out how to light the middle yet"