From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 5780EE00D91; Fri, 2 Feb 2018 12:56:50 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HTML_MESSAGE, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [209.85.223.174 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-io0-f174.google.com (mail-io0-f174.google.com [209.85.223.174]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 75100E005B1 for ; Fri, 2 Feb 2018 12:56:49 -0800 (PST) Received: by mail-io0-f174.google.com with SMTP id c17so24276554iod.1 for ; Fri, 02 Feb 2018 12:56:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MvwokQM5E/iaDa1ueRilJk4j7BAWuloMG+nPXyFPFlM=; b=fJfYMwDn75YxURw3YNMdeS82Qz4xobLqzrSJV2no3NJ90fIiqU7Aoyf+QQZXrJW9pl DtrNsYokAajI6jsdpWZKBPs04VYz2VGZ9I3IdESk8mWmwkZRGeboQs6YYSP+PWeVy/3d bajxdLAYLZkrvKcraTW61Q2gr4fVULr52yYfqRJFOeo6z5gXPJM14eWZW5akQLP+yXmN ttuoq671o7wIa+pJ7YjxdvglOgib5OzJdUO/BnTXhcik7AZRTUWgzjeKtZtuZwdNn5fh NoqffqNXuoOR++OsuLBG+628G1VxvqO9YGv5soIt0xQowUBzcX0jvfRCTrIMG2howd5c mqhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MvwokQM5E/iaDa1ueRilJk4j7BAWuloMG+nPXyFPFlM=; b=g4hAC6CBIfPLx8RnNzlylW+X/4MESq7lJP3dN6DTSQ3zfbyZ5lVQikLHdJ90soakh8 HV78tnhG+TDHUr5jNl3jVm9NaMOCl9GMCszX3cW2r/kyy9MDQW7lIMyC3W6iJ1TZSutP FyVLplhdXvaSPSPlw7wSL24R6jwFpEPM3skabF3iNJ/twdcDwXHhXyIKVnSJThx+hOI6 ZVPZH5a9xQSw409visBgGiBy0p3LCH7VGTceUW3W6i5N7/asgzxQ0zH9azMwaHkjwU+R HwWWYN11MowY+nCmhVZdpPrVRp8ybrxo3KNzO4ViT06ipkTmc/zwWlg85RlL1BkeACau 5z4w== X-Gm-Message-State: APf1xPBJOjx/K1oJZEo+I6hQj+VGLdoUOm87714gOT+lvlUEEUIL3fMd 9Dyt6l6L9BJaYZGaXUm2TyzXyEdauMeqGAdJe+Yeww== X-Google-Smtp-Source: AH8x226jNQKMGB9GmADTp+j2jDEgSgm8QXXDRwN+1kzUKbLRxwowwNIyhQpqRQW8MKj4rGbE0reLzY7nYwk6p9f6FNo= X-Received: by 10.107.9.154 with SMTP id 26mr147135ioj.52.1517605008643; Fri, 02 Feb 2018 12:56:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.17.206 with HTTP; Fri, 2 Feb 2018 12:56:28 -0800 (PST) In-Reply-To: References: From: "Burton, Ross" Date: Fri, 2 Feb 2018 20:56:28 +0000 Message-ID: To: Frank Smith Cc: Yocto-mailing-list Subject: Re: How to create lighttpd with minimal configure options? X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Feb 2018 20:56:50 -0000 Content-Type: multipart/alternative; boundary="001a113ea2b6732d44056440f304" --001a113ea2b6732d44056440f304 Content-Type: text/plain; charset="UTF-8" On 1 February 2018 at 12:02, Frank Smith wrote: > I want to create a minimal lighttpd package as small as possible. > Therefore I created a bbappendfile with extra configure flags. As follows. > But the changes seems to not have any effect at all. The size of my minimal > rootfs.jffs2 increases from 3MB to 5.1MB. > > meta-iris/recipes-extended/lighttpd/lighttpd_%.bbappend > > LICENSE = "BSD" > > EXTRA_OECONF += "--enable-ipv6" > EXTRA_OECONF += "--with-zlib" > EXTRA_OECONF += "--without-openssl" > > How to build a minimal lighttpd package? I was also thinking about > disabling unused modules, but how? > > Maybe I did not really understand, how to enable the ./configure options. > Is this the right way to configure with an option? > > PACKAGECONFIG ??= "openssl pcre zlib \ > [..] > " > PACKAGECONFIG[openssl] = "--with-openssl,--without-openssl,openssl" > > EXTRA_OECONF += "--without-openssl" > No, that's not how to use PACKAGECONFIG. See the manual for an explanation of PACKAGECONFIG and how to use it: http://www.yoctoproject.org/docs/2.5/ref-manual/ref-manual.html#var-PACKAGECONFIG Ross --001a113ea2b6732d44056440f304 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On 1 February 2018 at 12:02, Frank Smith <smith-f@gmx.de= > wrote:
I want to create a minimal lighttpd package as small as possible. Ther= efore I created a bbappendfile with extra configure flags. As follows. But = the changes seems to not have any effect at all. The size of my minimal roo= tfs.jffs2 increases from 3MB to 5.1MB.
=C2=A0
meta-iris/recipes-extended/lighttpd/lighttpd_%.bbappend
=C2=A0
LICENSE =3D "BSD"
=C2=A0
EXTRA_OECONF +=3D "--enable-ipv6"
EXTRA_OECONF +=3D "--with-zlib"
EXTRA_OECONF +=3D "--without-openssl"
=C2=A0
How to build a minimal lighttpd package? I was also thinking about dis= abling unused modules, but how?
=C2=A0
Maybe I did not really understand, how to enable the ./configure optio= ns. Is this the right way to configure with an option?
=C2=A0
PACKAGECONFIG ??=3D "openssl pcre zlib \
=C2=A0=C2=A0=C2=A0 [..]
"
PACKAGECONFIG[openssl] =3D "--with-openssl,--without-openssl= ,openssl"
=C2=A0
EXTRA_OECONF +=3D "--without-openssl"

No, that's not = how to use PACKAGECONFIG.

See the manual for an explanation of PACKAGECONFIG and = how to use it:

=
Ross
<= br>
--001a113ea2b6732d44056440f304--