如何将枕头和Qrcode添加到Yocto图像中?

发布于 2025-01-22 19:22:06 字数 182 浏览 0 评论 0原文

我需要将我的Yocto Image Pillow和Qrcode(Python3)添加到我的Yocto图像中,但我有点挣扎。我知道这里有一个食谱,但是每当我尝试添加时,我都会得到以下错误:

rprovides'python3-qrcode'/'python3-pollow'

预先感谢!

I need to add to my yocto image pillow and qrcode (Python3) to my yocto image, Yet i kinda struggle. I know there's arleady a recipe but whenever i try to add i get the following error:

Nothing RPROVIDES 'python3-qrcode'/'python3-pillow'

Thanks in advance!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

笔落惊风雨 2025-01-29 19:22:06

python3-pollow存在于meta-openembedded/meta-python/coppees-devtools/python中,但是python3-qrcode我没有找到它,这是在添加到元安全性中,但我认为他们将其删除。

无论如何,如果要将其添加到自定义层,这里是食谱:

  • meta-custom/coppes-python/python/python3-qrcode_6.1.bb
SUMMARY = "QR Code image generator"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9"

PYPI_PACKAGE = "qrcode"
SRC_URI[sha256sum] = "505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369"

inherit pypi setuptools3

python3-pillow exists in meta-openembedded/meta-python/recipes-devtools/python, but python3-qrcode I did not find it, it was before added to meta-security but I think they removed it.

Anyways, here is the recipe if you want to add it to your custom layer:

  • meta-custom/recipes-python/python/python3-qrcode_6.1.bb:
SUMMARY = "QR Code image generator"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4b802d2a65df4626623c79757f486af9"

PYPI_PACKAGE = "qrcode"
SRC_URI[sha256sum] = "505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369"

inherit pypi setuptools3
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文