【发布时间】:2015-12-31 05:52:33
【问题描述】:
我试图使用 local_manifest.xml 文件配置 repo,以获取金鱼 Android 内核,网址为: https://android.googlesource.com/kernel/goldfish.git
我已经编写了以下 local_manifest.xml 文件,并将其复制到 .repo/manifests/local_manifest.xml 中:
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote
name="linux-kernel"
fetch="https://android.googlesource.com/kernel" />
<project
path="kernel"
name="goldfish"
remote="linux-kernel"
revision="android-goldfish-3.10" />
</manifest>
给出以下命令: repo init -u local_manifest.xml
我收到以下错误消息:
fatal: Invalid gitfile format: local_manifest.xml
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我认为我的 local_manifest.xml 文件中有问题,但我无法理解问题所在。知道出了什么问题吗?
另外,如何将本地清单与 repo 一起使用?
谢谢。
【问题讨论】: