小编Har*_*san的帖子

在 Ubuntu 16.04 中使用 bitbake 构建 yocto 时如何使用私有 git 存储库?

配置后使用 bitbake 时,bitbake 在尝试使用 SSH 链接克隆/访问私有存储库之前失败。

$ bitbake linux-imx
git -c core.fsyncobjectfiles=0 ls-remote ssh://git@gitlab.com:~/some-project/some-repo.git
| DEBUG: Python function base_do_fetch finished
| DEBUG: Python function do_fetch finished
| ERROR: Function failed: Fetcher failure: Fetch command failed with exit code 128, output:
| ssh: Could not resolve hostname gitlab.com:~: Name or service not known
| fatal: Could not read from remote repository.
| 
| Please make sure you have the correct access rights
| and the repository exists.
| 
ERROR: Task 4 …
Run Code Online (Sandbox Code Playgroud)

git bitbake yocto ubuntu-16.04

3
推荐指数
1
解决办法
7456
查看次数

标签 统计

bitbake ×1

git ×1

ubuntu-16.04 ×1

yocto ×1