From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MLzcl-0000oU-HL for mharc-grub-devel@gnu.org; Wed, 01 Jul 2009 09:13:19 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLzck-0000oD-HV for grub-devel@gnu.org; Wed, 01 Jul 2009 09:13:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLzcg-0000nl-1x for grub-devel@gnu.org; Wed, 01 Jul 2009 09:13:18 -0400 Received: from [199.232.76.173] (port=34463 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLzcf-0000ni-U3 for grub-devel@gnu.org; Wed, 01 Jul 2009 09:13:13 -0400 Received: from aybabtu.com ([69.60.117.155]:56992) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MLzcf-0007UD-IN for grub-devel@gnu.org; Wed, 01 Jul 2009 09:13:13 -0400 Received: from [192.168.10.10] (helo=thorin) by aybabtu.com with esmtp (Exim 4.69) (envelope-from ) id 1MLyYq-0007Wa-PU for grub-devel@gnu.org; Wed, 01 Jul 2009 14:05:13 +0200 Received: from rmh by thorin with local (Exim 4.69) (envelope-from ) id 1MLzcd-0004gL-0L for grub-devel@gnu.org; Wed, 01 Jul 2009 15:13:11 +0200 Date: Wed, 1 Jul 2009 15:13:11 +0200 From: Robert Millan To: The development of GRUB 2 Message-ID: <20090701131310.GE17770@thorin> References: <20090701003502.25373.82948.stgit@mj.roinet.com> <20090701005154.bax5rnpc9cc04g8w-cebfxv@webmail.spamcop.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Organization: free as in freedom X-Message-Flag: Worried about Outlook viruses? Switch to Thunderbird! www.mozilla.com/thunderbird X-Debbugs-No-Ack: true User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Subject: Re: [PATCH 1/3] Improve genmoddep.awk X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jul 2009 13:13:18 -0000 On Wed, Jul 01, 2009 at 01:22:29PM +0800, Bean wrote: > On Wed, Jul 1, 2009 at 12:51 PM, Pavel Roskin wrote: > > Quoting Bean : > > > >> Perhaps you could also take a look at my previous patch > >> > >> [PATCH] Use symbol database to maintain module dependence > >> > >> It add a program grub-symdb to maintain symbol database and therefore > >> eliminate def- and unf- files, it also allows incremental build. > > > > grub-symdb would need to be compiled by a native C compiler.  Otherwise, it > > won't work when cross-compiling the utilities. > > > > It's not that it's a big deal per se, but it is will add complexity if we > > try to use autoconf to look for it. > > > > Adding grub-symdb to bin_UTILITIES would result in it being installed along > > with the utilities that are actually used after the build.  I think it's > > wrong.  Temporary build tools don't belong there. > > Hi, > > Actually, that's the intention. grub-symdb and the symbol database is > supposed to be installed in the target system. They can be used to > support external grub modules. To install new package, we can just > copy the modules files and use rerun grub-symdb to update the > database. I tend to agree with Pavel. We should be careful about adding complexity, and only do it when we're sure it's going to pay off. (I'm not saying it doesn't pay off here, but this factor should always be taken into account IMO) -- Robert Millan The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and how) you may access your data; but nobody's threatening your freedom: we still allow you to remove your data and not access it at all."