From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Tyfsb-0003RA-Pi for ptxdist@pengutronix.de; Fri, 25 Jan 2013 10:47:25 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.72) (envelope-from ) id 1Tyfsb-0003D9-PK for ptxdist@pengutronix.de; Fri, 25 Jan 2013 10:47:25 +0100 Date: Fri, 25 Jan 2013 10:47:25 +0100 From: Michael Olbrich Message-ID: <20130125094725.GA11534@pengutronix.de> References: <1358936152-14330-1-git-send-email-alexander.stein@systec-electronic.com> <1358936152-14330-2-git-send-email-alexander.stein@systec-electronic.com> <20130123112624.GD26180@pengutronix.de> <1690445.GXkacljTTg@ws-stein> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1690445.GXkacljTTg@ws-stein> Subject: Re: [ptxdist] [PATCH 2/2] lighttpd: Add config option to select modules explicitly Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, On Wed, Jan 23, 2013 at 01:28:26PM +0100, Alexander Stein wrote: > On Wednesday 23 January 2013 12:26:24, Michael Olbrich wrote: > > What's the usecase for this? This are a lot of options and hard to > > maintain. And the plugins are so small, that I don't think it's worth it to > > save the space. > > That's exactly the use case. On that particular board we don't have much > flash memory available, so even reducing about 1,4 MiB is essential in that > case. > You can at least get a list of the modules when the package is installed using this shell command: > > for mod in platform/packages/lighttpd-1.4.31/usr/lib/lighttpd/*.so; do MOD=$(basename $mod); echo ${MOD/.so/}; done > This could be a starting point to create e.g. a lighttpd_modules.in by a script which includes this options. I've pushed my lighttpd rework that I've been working on for some time. You can now explicitly select some modules (those that require extra dependencies etc.). For the rest there is a string to add them manually. The list will be added for loading to the config file, and optionally used to only install these modules. Does this work for you? Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de