All of lore.kernel.org
 help / color / mirror / Atom feed
* Customization for nginx
@ 2016-06-14  7:15 Elias Diem
  2016-06-14 10:41 ` piotr.lewicki
  0 siblings, 1 reply; 5+ messages in thread
From: Elias Diem @ 2016-06-14  7:15 UTC (permalink / raw)
  To: yocto; +Cc: Urs Fässler

Hi

With jethro, I used to use the following .bbappend to use
my config for nginx:

<file name="nginx_1.9.5.bbappend">
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"

</file>

My nginx.conf was inside the corresponding files directory.

Since krogoth, which uses nginx 1.9.14, this does not seem 
to work any more. My config file is not used any more. The 
.bbappend file how has the name nginx_1.9.14.bbappend of 
course.

What could be the reason for this?

Or, alternatively: where can I debug this?


-- 
Greetings
Elias




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Customization for nginx
  2016-06-14  7:15 Customization for nginx Elias Diem
@ 2016-06-14 10:41 ` piotr.lewicki
  2016-06-14 17:51   ` Elias Diem
  0 siblings, 1 reply; 5+ messages in thread
From: piotr.lewicki @ 2016-06-14 10:41 UTC (permalink / raw)
  To: yocto

This is not an answer to your question but it can be helpful:
You can use a wildcard for version in your bbappend file.
If you rename it to:

nginx_1.9.%.bbappend

this will work for both 1.9.5 and 1.9.14.

For debugging I can give you a hint:
try using "-v" switch for bitbake when baking your nginx recipe- this 
stands for "verbose".

Best regards,
Piotr Lewicki

On 14.06.2016 09:15, Elias Diem wrote:
> Hi
>
> With jethro, I used to use the following .bbappend to use
> my config for nginx:
>
> <file name="nginx_1.9.5.bbappend">
> FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
>
> </file>
>
> My nginx.conf was inside the corresponding files directory.
>
> Since krogoth, which uses nginx 1.9.14, this does not seem to work any 
> more. My config file is not used any more. The .bbappend file how has 
> the name nginx_1.9.14.bbappend of course.
>
> What could be the reason for this?
>
> Or, alternatively: where can I debug this?
>
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Customization for nginx
  2016-06-14 10:41 ` piotr.lewicki
@ 2016-06-14 17:51   ` Elias Diem
  2016-06-14 18:07     ` Smith, Virgil
  0 siblings, 1 reply; 5+ messages in thread
From: Elias Diem @ 2016-06-14 17:51 UTC (permalink / raw)
  To: yocto; +Cc: Urs Fässler

Hi Piotr

On 2016-06-14, piotr.lewicki wrote:

>This is not an answer to your question but it can be helpful:
>You can use a wildcard for version in your bbappend file.
>If you rename it to:
>
>nginx_1.9.%.bbappend
>
>this will work for both 1.9.5 and 1.9.14.

Thanks for this hint.

I realized that krogoth delivers two recipes for nginx:

1.9.14 and 1.8.1

And it picks 1.8.1. That's why it does not work.

Now I tried to set

PREFERRED_PROVIDER_nginx = "nginx-1.9.14"

But this does not seem to work.

How do you prefer a provider out of two different versions 
of a package?


-- 
Greetings
Elias




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Customization for nginx
  2016-06-14 17:51   ` Elias Diem
@ 2016-06-14 18:07     ` Smith, Virgil
  2016-06-14 20:00       ` Elias Diem
  0 siblings, 1 reply; 5+ messages in thread
From: Smith, Virgil @ 2016-06-14 18:07 UTC (permalink / raw)
  To: Elias Diem, yocto@yoctoproject.org; +Cc: Urs Fässler

"How do you prefer a provider out of two different versions of a package?"

PREFERRED_VERSION
http://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html#var-PREFERRED_VERSION


________________________________

Notice to recipient: This email is meant for only the intended recipient of the transmission, and may be a communication privileged by law, subject to export control restrictions or that otherwise contains proprietary information. If you receive this email by mistake, please notify us immediately by replying to this message and then destroy it and do not review, disclose, copy or distribute it. Thank you in advance for your cooperation.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Customization for nginx
  2016-06-14 18:07     ` Smith, Virgil
@ 2016-06-14 20:00       ` Elias Diem
  0 siblings, 0 replies; 5+ messages in thread
From: Elias Diem @ 2016-06-14 20:00 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Hi Virgil

On 2016-06-14, Smith, Virgil wrote:

>"How do you prefer a provider out of two different versions of a package?"
>
>PREFERRED_VERSION
>http://www.yoctoproject.org/docs/2.1/mega-manual/mega-manual.html#var-PREFERRED_VERSION

Thanks. Worked fine.


-- 
Greetings
Elias




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-06-14 20:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-14  7:15 Customization for nginx Elias Diem
2016-06-14 10:41 ` piotr.lewicki
2016-06-14 17:51   ` Elias Diem
2016-06-14 18:07     ` Smith, Virgil
2016-06-14 20:00       ` Elias Diem

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.