Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Bitbake 默认生成 .rpm 文件,但不幸的是 .rpm 文件在 debian 或 ubuntu 系统上不起作用。如何让bitbake直接生成.deb文件?
首先,您不能假设无论如何您都可以在常规 Debian 或 Ubuntu 系统中使用您的 bitbake:ed deb-packages。
现在,我假设您正在使用的 Poky 参考分发(Yocto 项目的)默认为 rpm。
PACKAGE_CLASSES在您自己的发行版配置中设置conf/local.conf或最好设置为:
PACKAGE_CLASSES
conf/local.conf
PACKAGE_CLASSES = "package_deb"
这会将您的构建配置为使用 deb-packages。(其他选项是package_ipk或package_rpm。
package_ipk
package_rpm