ERROR: The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:
lz4c
#解决办法
sudo apt install libz4-tool
升级python到python3.6
升级gcc到gcc7.5
修改/conf/local.conf
BB_NUMBER_THREADS = ' 8 '
PARALLEL_MAKE = ' -j 8 '
编译好的镜像:https://jenkins.openbmc.org/view/latest/job/latest-master/label=docker-builder,target=romulus/lastSuccessfulBuild/artifact/
需要登录到网页上找到最新的镜像,然后回来修改链接地址。
wget https://jenkins.openbmc.org/view/latest/job/latest-master/label=docker-builder,target=romulus/lastSuccessfulBuild/artifact/openbmc/build/tmp/deploy/images/romulus/obmc-phosphor-image-romulus-20220325025146.static.mtd
参考:https://www.codeleading.com/article/18066145594/