All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre McCurdy <armccurdy@gmail.com>
To: Wayne Witzke <wwitzke@asgrp.com>
Cc: Yocto discussion list <yocto@yoctoproject.org>
Subject: Re: How and where does yocto find lighttpd-module-fastcgi?
Date: Fri, 9 Mar 2018 14:35:43 -0800	[thread overview]
Message-ID: <CAJ86T=Ud=aPE34VS8NBEEDuTxzjE_GHSW55L8fdww0kSvgu1XQ@mail.gmail.com> (raw)
In-Reply-To: <df083f7f-672d-b167-4fa2-4730bbec749a@asgrp.com>

[-- Attachment #1: Type: text/plain, Size: 1755 bytes --]

On Fri, Mar 9, 2018 at 6:18 AM, Wayne Witzke <wwitzke@asgrp.com> wrote:

> Thank you for the reply!
>
> When I wasn't adding lighttpd-module-fastcgi, it definitely was not
> including it in the build.
>

The lighttpd-module-fastcgi package is created (unconditionally) when the
lighttpd recipe is built (you can verify by checking the installable
packages under tmp/deploy/ after building lighttpd).

However, since nothing in the default images has a runtime dependency on
lighttpd-module-fastcgi, that package will only be included in the rootfs
if you manually add it (e.g. by adding to CORE_IMAGE_EXTRA_INSTALL, as you
have done).

ie you need to make the distinction between "is this package being built"
and "is this package being included in the rootfs when the image is built".

I have the lighttpd.conf file set up use mod_fastcgi, and without
> lighttpd-module-fastcgi in my local.conf file, lighttpd would fail to start
> on the embedded build, complaining that it could not find the fastcgi
> module. In fact, the same thing happens with php-cgi. I can't find anyplace
> in any of the layers that I'm using that actually references php-cgi as a
> package or option, but unless I add it to local.conf using
> EXTRA_CORE_IMAGES_INSTALL, it doesn't get included in the build.
>

It's a similar story with the php-cgi package. It's created
(unconditionally) when the php recipe is built, but will not be installed
in the rootfs unless you add it to your image.

The reason you don't find a direct reference to the string "php-cgi"
anywhere is because the php recipe defines it's list of packages in terms
of the "${PN}" variable. So the php recipe contains references to
"${PN}-cgi" but rather than "php-cgi".

[-- Attachment #2: Type: text/html, Size: 2601 bytes --]

  reply	other threads:[~2018-03-09 22:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-08 21:52 How and where does yocto find lighttpd-module-fastcgi? Wayne Witzke
2018-03-08 23:13 ` Andre McCurdy
2018-03-09 14:18   ` Wayne Witzke
2018-03-09 22:35     ` Andre McCurdy [this message]
2018-03-11  1:52       ` Wayne Witzke

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ86T=Ud=aPE34VS8NBEEDuTxzjE_GHSW55L8fdww0kSvgu1XQ@mail.gmail.com' \
    --to=armccurdy@gmail.com \
    --cc=wwitzke@asgrp.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.