我正在使用Yocto制作操作系统。我创建了新的元,新层,新食谱和新机器。它运行良好,直到我尝试包括已经为Debian编译的包装。通常,我在刷新图像后使用APT-GET命令安装了这些软件包,但是随着软件包的数量增加,它们开始与图像随附的软件包并与Bitbake一起编译,因此我正在尝试添加这些包裹包装作为食谱。
我可以直接从.deb文件或.DSC文件创建食谱吗?如果我无法创建它,如何找到源代码?如何从源代码创建食谱?
我目前正在使用OpenEmbedded Dunfell版本,但我计划切换到Kirkstone版本。由于我正在使用Dunfell版本,因此我正在查看Debian的Stretch版本软件包。切换到Kirkstone版本时,我应该寻找哪些版本的Debian?
我正在为Intel 64位Ubuntu上的ARMHF架构编译18.04。我正在编译定制板。
这些是我现在要安装的软件包(如果可以使用食谱安装,我可以安装类似的软件包):
- xbindkeys
-
- href =“ https://packages.debian.org/stretch/libcurl3-gnutls” rel =“ nofollow noreferrer”> libcurl3-gnutls
- default-jre-headless
-
- libpam-pkcs11
-
- “ nofollow noreferrer”> libacsccid1(这很特别,因为它只有deb软件包。没有源代码或DSC文件。)
I am making an operating system with Yocto. I created new meta, new layer, new recipe and new machine. It was working fine until I tried to include packages already compiled for debian. Normally, I was installing these packages with the apt-get command after flashing the image, but as the number of packages increased, they started to conflict with the packages that came with the image and compiled with bitbake, so I am trying to add these packages as a recipe.
Can I create recipe directly from .deb file or .dsc file? If I can't create it, how can I find the source code and how can I create a recipe from the source code?
I'm currently using the OpenEmbedded dunfell version, but I'm planning to switch to the kirkstone version. Since I'm using dunfell version, I'm looking at debian's stretch version packages. Which version packages of debian should I look for when I switch to kirkstone version?
I am compiling for armhf architecture on Intel 64 bit Ubuntu 18.04. I'm compiling for a custom board.
These are the packages I'm trying to install for now (I think I can install similar packages if I can install them with a recipe):
- xbindkeys
- libcrypto++6
- libcurl3-gnutls
- default-jre-headless
- libccid
- libpam-pkcs11
- pcscd
- libacsccid1 (This is special because it only has deb package. There is no source code or dsc file.)
发布评论
评论(1)
虽然Yocto项目和OpenEmbedded可以输出DEB包,但它们仅与OE构建的发行版设置兼容。来自Debian的包裹不兼容。
您可以查看 https://layers.yoctoproject.org/ 添加这些层后,能够构建所需的东西。
在无法从源构建的地方,您可能可以从Debian Deb中提取文件,并将其变成可能与OE一起使用的不同DEB,但假设二进制文件是兼容的,它们可能会或可能不会取决于您的方式。 VE配置了您的构建。不建议这样做。
Whilst Yocto Project and OpenEmbedded can output deb packages they are only compatible with the DISTRO setting that built them in OE. Packages from Debian are not compatible.
You can look at https://layers.yoctoproject.org/ to search for recipes in other layers which may be able to build what you need once those layers are added.
Where you can't build from source you may be able to extract files from a Debian deb and turn it into a different deb that might work with OE but it assumes the binaries are compatible and they may or may not be depending on how you've configured your build. This isn't recommended.