我的Yocto项目版本
“3.1.15”
我在下面的目录下找到了nginx
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
我试着加上
IMAGE_INSTALL += "nginx"
在build\conf\local.conf
下,但显示错误
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']
我读过一篇文章如何在Yocto中启用ngx_stream_core_module
上面说
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.
为什么?如果我想正确安装nginx,我应该怎么做
1条答案
按热度按时间sqyvllje1#
我忘记检查bblayers.conf后添加到它现在我可以正确安装nginx(1.16.1)