我正在尝试为raspberry pi 3构建图像,但是得到了一些错误。我希望这里有人能帮我解决这个问题。我在VirtualBox上使用Ubuntu20.04进行此构建。运行以下命令,但作为输出获取错误。(下面的屏幕快照)
$ sudo apt-get install gawk wget git-core diffstat unzip texinfo gcc-multilib build-essential chrpath socat cpio python python3 python3-pip python3-pexpect xz-utils debianutils iputils-ping libsdl1.2-dev xterm
$ git clone git://git.yoctoproject.org/poky -b dunfell
$ cd poky
$ git clone https://git.openembedded.org/meta-openembedded -b dunfell
$ git clone git://git.yoctoproject.org/meta-raspberrypi -b dunfell
$ source oe-init-build-env
> I’m building the image for raspberry pi 3 so set the machine name to raspberrypi3 as : machine ?= "raspberrypi3" and commented other machine names in local.conf
> To generate an SD card image file I’ve written IMAGE_FSTYPES = "tar.xz ext3 rpi-sdimg"
> In bblayer.conf file I’ve added meta-raspberrypi layer path.
$ bitbake core-minimal-image
[1]: https://i.stack.imgur.com/HSwl8.png
[2]: https://i.stack.imgur.com/iIOb6.png
[3]: https://i.stack.imgur.com/RTlaU.png
[4]: https://i.stack.imgur.com/o9aOU.png发布于 2022-02-28 08:20:35
听起来像是个破碎的包裹。第一件事,试着清理和重建
bitbake -c cleanall unzip
bitbake -c cleanall binutils
bitbake unzip
bitbake binutils还有,你真的需要那些包裹吗?如果不只是通过添加到您的local.conf来删除它们的话
IMAGE_INSTALL_remove = " unzip binutils "https://stackoverflow.com/questions/71256533
复制相似问题