yocto编译时报错"fatal: the '--set-upstream' option is no longer supported. Please use '-

Posted dakewei

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了yocto编译时报错"fatal: the '--set-upstream' option is no longer supported. Please use '-相关的知识,希望对你有一定的参考价值。

答: 替换--set-upstream为--set-upstream-to, 示例如下:

--- a/bitbake/lib/bb/fetch2/git.py
+++ b/bitbake/lib/bb/fetch2/git.py
@@ -326,7 +326,7 @@ class Git(FetchMethod):
                 branchname =  ud.branches[ud.names[0]]
                 runfetchcmd("%s checkout -B %s %s" % (ud.basecmd, branchname,                              ud.revisions[ud.names[0]]), d, workdir=destdir)
-                runfetchcmd("%s branch --set-upstream %s origin/%s" % (ud.basecmd, branchname, +                runfetchcmd("%s branch %s --set-upstream-to origin/%s" % (ud.basecmd, branchname,                              branchname), d, workdir=destdir)
             else:
                 runfetchcmd("%s checkout %s" % (ud.basecmd, ud.revisions[ud.names[0]]), d, workdir=destdir)

以上是关于yocto编译时报错"fatal: the '--set-upstream' option is no longer supported. Please use '-的主要内容,如果未能解决你的问题,请参考以下文章

yocto编译时报错"fontconfig-2.12.1/src/fcmatch.c:324:63: error: ‘PRI_CHAR_WIDTH_STRONG' undeclar

yocto编译时报错"fontconfig-2.12.1/src/fcmatch.c:324:63: error: ‘PRI_CHAR_WIDTH_STRONG' undeclar

vue项目编译时报错:FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

vue项目编译时报错:FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

使用pip 时报错 Fatal error in launcher: Unable to create process using '"D:pytghon2.7python.ex(示

TLINK时报错Fatal:No Program entry point的解决办法