我正在尝试使用local_manifest.xml文件配置repo,以获取位于以下网址的goldfish Android内核:
https://android.googlesource.com/kernel/goldfish.git
我编写了以下local_manifest.xml文件,并将其复制到.repo/manifests/local_manifest.xml中:
执行以下命令: repo init -u 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一起使用local manifests?
谢谢。