Bitbake:根据编译的图像修改bbappend [英] Bitbake: modify a bbappend depending on the image compiled

查看:349
本文介绍了Bitbake:根据编译的图像修改bbappend的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个不同的图像,它们使用了很多常见的程序包.其中之一是wpa-supplicant,它提供了默认配方安装的文件wpa_supplicant.conf.但是,我希望安装自己的wpa_supplicant.conf.

I have two different images which use a lot of common packages. One of them is the wpa-supplicant, which provides a file wpa_supplicant.conf installed by the default recipe. However, I want my own wpa_supplicant.conf to be installed.

我通过在图层中添加.bbappend来解决此问题.但是现在,我只希望在编译其中一个图像而不是另一个图像时应用此追加.

I have this solved by having a .bbappend in my layer. But now I only want this append to be applied when I compile one of the images, but not the other.

简而言之:是否有一种方法可以根据编译的图像启用/禁用.bbappend?

In short: is there a way to enable/disable a .bbappend depending on the image compiled?

注释:

  • 我已经看到了此答案,这很相似,但是创建一个安装我的文件的新软件包却没有工作:许多软件包将尝试安装相同的文件,并且Bitbake返回错误.

  • I have seen this answer which is similar, but creating a new package that install my file does not work: many packages will try to install the same file and Bitbake returns error.

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆