My Yocto project version
"3.1.15"
I do find nginx under the follow directory
meta-openembedded/meta-webserver/recipes-httpd/nginx
├── files
│ ├── 0001-Allow-the-overriding-of-the-endianness-via-the-confi.patch
│ ├── CVE-2021-23017.patch
│ ├── CVE-2021-3618.patch
│ ├── default_server.site
│ ├── nginx.conf
│ ├── nginx-cross.patch
│ ├── nginx-fix-pidfile.patch
│ ├── nginx.init
│ ├── nginx.service
│ ├── nginx-volatile.conf
│ └── proxy_params
├── nginx_1.16.1.bb
├── nginx_1.17.8.bb
└── nginx.inc
I have tried to add
IMAGE_INSTALL += "nginx"
under build\conf\local.conf
but it shows error
ERROR: Nothing RPROVIDES 'nginx'
NOTE: Runtime target 'nginx' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['nginx']
ERROR: Required build target 'rity-demo-image' has no buildable providers.
Missing or unbuildable dependency chain was: ['rity-demo-image', 'nginx']
I have read one of the article How to enable ngx_stream_core_module in Yocto
It says that
PD: It is a bad practice to modify the *.inc or the *.bb of a recipe from a third party layer, write a *.bbappend on your own layer instead.
Why? and What should I do next if I want to correctly install nginx
I forgot to check the bblayers.conf after adding into it now i can correctly install nginx(1.16.1)
${YOCTOROOT}/src/poky/../meta-openembedded/meta-webserver \