【问题标题】:Install a custom deb package as a bitbake recipe将自定义 deb 包安装为 bitbake 配方
【发布时间】:2022-05-14 19:28:10
【问题描述】:
meta-example
├── conf
│   └── layer.conf
└── recipes-example
    └── debs
        ├── debs.bb
        └── files
            └── example.deb

我有一个上面显示的简单层。我应该在 debs.bb 中写什么,以便在构建期间安装 example.deb 文件,并且我的最终映像包含已安装的 deb 包。此外,我还需要在我的 local.conf 文件中进行哪些其他更改。

【问题讨论】:

标签: yocto bitbake deb


【解决方案1】:

既然您已经编写了配方 debs.bb,它将安装所需的软件包作为构建 debs 的一部分。需要在最终目标中添加这个包,所以需要添加 local.conf 中的 debs。 (确保 bblayers.conf 包含您的元示例层。)

IMAGE_INSTALL_append = " debs"

【讨论】:

  • _append 需要一个空格" debs"
猜你喜欢
  • 1970-01-01
  • 2018-08-20
  • 2019-11-07
  • 1970-01-01
  • 1970-01-01
  • 2016-07-05
  • 1970-01-01
  • 2020-03-31
  • 2015-04-08
相关资源
最近更新 更多