我正在尝试将Unix安装到iMX6 Yocto中。我成功地交叉编译了Unix源代码。当我运行它时,得到这样的错误:
root@imx6qsabresd:/home/UnixBench# ./Run
Can't locate POSIX.pm in @INC
它看起来像是Perl模块丢失了。那么,如何将这些依赖模块安装到Yocto?
use POSIX qw(strftime);
use Time::HiRes;
use IO::Handle;
use FindBin;
顺便说一句,在没有Perl的情况下,有任何Unix版本运行吗?
我的映像用内核4.13 (设置在local.conf中)和我的所有菜谱构建得很好。
当我试图将iptables配方(v1.6)添加到我的映像中时,do_rootfs任务失败,出现以下错误:
ERROR: image-dev-0.7-r0 do_rootfs: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_pytho
当发行版配置为使用用gpg签名的rpm包存储库时,我有两个与Yocto和图像生成有关的问题。
第一个问题:在运行"bitbake Image.bb“命令之后,构建过程将停止,并收到以下错误消息:
ERROR: myimage-1.0-r0 do_rootfs: [log_check] myimage: found 1 error message in the logfile:
[log_check] Failed to synchronize cache for repo 'yocto-rpm', disabling.
令人惊讶的是,只有当http服务器用于为正在运行的
通过将apt包添加到菜谱中的IMAGE_INSTALL变量,我已经将apt安装到了由BitBake构建的系统上。
apt-get和apt-cache现在在构建的系统上执行,但是如果我试图对它们执行任何有用的操作(如apt-get update或apt-cache search),则会得到以下错误:
E: Could not open file /var/lib/dpkg/status - open (2: No such file or directory)
E: The package lists or status file could not be parsed or opened
经过
我有一个自定义的Python Flask应用程序,我使用Yocto和Bitbake为我的嵌入式目标构建它。我还有一组测试用例,我在我的构建机器上使用PyTest在应用程序上运行。如果测试失败,我希望构建失败。 我正在寻找一种Yocto方式,将这些测试作为我食谱的一部分作为自定义任务来运行。到目前为止,谷歌搜索结果(不同寻常地)一无所获。 这是我到目前为止所实现的-它可以工作,但它需要系统Python3和各种pip安装。理想情况下,需求应该在Yocto中构建,但只针对主机而不是目标。我还没想好怎么做。 # Run the pytest test cases against the app co
在Windows10平台上,我遵循安装的说明。
安装失败并出现以下错误,有人知道如何解决此问题吗?
Cannot complete the install because one or more required items could not be found.
Software being installed: Yocto Project SDK Plug-in 1.4.1.201710162310 (org.yocto.sdk.feature.group 1.4.1.201710162310)
Missing requirement: Utils 1.4.1.201710162310 (
我正在使用yocto食谱从一个tar.gz存档创建一个RPM。但是,当我试图在我的系统上安装软件包时(当从外部媒体启动时),我会收到以下警告和返回代码1:
root@system:~# rpm -ivh --root=/mnt/media package.rpm
Preparing... ########################################### [100%]
1:package warning: group pulse does not exist - using root
warning: group pulse does