首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >树莓pi3 (约克托-邓菲尔)图像生成中的错误

树莓pi3 (约克托-邓菲尔)图像生成中的错误
EN

Stack Overflow用户
提问于 2022-02-24 18:21:10
回答 1查看 237关注 0票数 -1

我正在尝试为raspberry pi 3构建图像,但是得到了一些错误。我希望这里有人能帮我解决这个问题。我在VirtualBox上使用Ubuntu20.04进行此构建。运行以下命令,但作为输出获取错误。(下面的屏幕快照)

代码语言:javascript
复制
    $ 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
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-02-28 08:20:35

听起来像是个破碎的包裹。第一件事,试着清理和重建

代码语言:javascript
复制
bitbake -c cleanall unzip  
bitbake -c cleanall binutils
bitbake unzip  
bitbake binutils

还有,你真的需要那些包裹吗?如果不只是通过添加到您的local.conf来删除它们的话

代码语言:javascript
复制
IMAGE_INSTALL_remove = " unzip binutils "
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/71256533

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档