* 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
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.