git clone https://github.com/openbmc/openbmc.git
. setup romulus
bitbake obmc-phosphor-image
OpenBmc(一)——编译工程_error: nothing provides 'obmc-phosphor-image-CSDN博客
编译报错
1. Unable to fetch URL from any source.
ERROR: bmcweb-1.0+git-r0 do_fetch: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export SSL_CERT_DIR="/usr/lib/ssl/certs"; export SSL_CERT_FILE="/usr/lib/ssl/certs/ca-certificates.crt"; export DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/1000/bus"; export PATH="/home/boston/Desktop/code/openbmc/openbmc/build/romulus/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+git/recipe-sysroot-native/usr/bin/python3-native:/home/boston/Desktop/code/openbmc/openbmc/scripts:/home/boston/Desktop/code/openbmc/openbmc/build/romulus/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+git/recipe-sysroot-native/usr/bin/arm-openbmc-linux-gnueabi:/home/boston/Desktop/code/openbmc/openbmc/build/romulus/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+git/recipe-sysroot/usr/bin/crossscripts:/home/boston/Desktop/code/openbmc/openbmc/build/romulus/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+git/recipe-sysroot-native/usr/sbin:/home/boston/Desktop/code/openbmc/openbmc/build/romulus/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+git/recipe-sysroot-native/usr/bin:/home/boston/Desktop/code/openbmc/openbmc/build/romulus/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+git/recipe-sysroot-native/sbin:/home/boston/Desktop/code/openbmc/openbmc/build/romulus/tmp/work/arm1176jzs-openbmc-linux-gnueabi/bmcweb/1.0+git/recipe-sysroot-native/bin:/home/boston/Desktop/code/openbmc/openbmc/poky/bitbake/bin:/home/boston/Desktop/code/openbmc/openbmc/build/romulus/tmp/hosttools"; export HOME="/home/boston"; LANG=C git -c gc.autoDetach=false -c core.pager=cat -c safe.bareRepository=all clone --bare --mirror https://github.com/openbmc/bmcweb.git /home/boston/Desktop/code/openbmc/openbmc/build/romulus/downloads/git2/github.com.openbmc.bmcweb.git --progress failed with exit code 128, see logfile for output
解决方法:跟据提示需要下载的版本、需要存放到哪个目录、存放的名字,直接下载
git clone -b master git://github.com/openbmc/bmcweb.git /home/boston/Desktop/code/openbmc/openbmc/build/romulus/downloads/git2/github.com.openbmc.bmcweb.git
一般软件压缩包是放入/work/openbmc/build/romulus/downloads目录,而github下载的则直接解压放入/work/openbmc/build/downloads/git2/,在这两个目录中的每个包均有对应的*.done文件,yocto通过该文件是否存在来判断这个包是否下载完成。