/**********************************************************************
* ERROR: gnu-config-native-20150728+gitAUTOINC+b576fa87c1-r0 do_unpack: Function failed: Fetcher failure: Fetch command failed with exit code 128, output: fatal: the '--set-upstream' option is no longer supported. Please use '--track' or '--set-upstream-to' instead.
* 说明:
* 在Ubuntu 18.04上编译Yocto,出现的git访问的问题。
*
* 2018-6-13 深圳 宝安西乡 曾剑锋
*********************************************************************/ 一、参考文档:
. ubuntu 12.04 yocto 最近出现的编译问题
https://blog.csdn.net/ming_l1/article/details/79362370 二、解决方法:
. sources/poky/bitbake/lib/bb/fetch2/git.py
runfetchcmd("%s branch --set-upstream %s origin/%s" % (ud.basecmd, branchname, \
branchname), d)
to
runfetchcmd("%s branch --set-upstream-to origin/%s" % (ud.basecmd, \
branchname), d)