我试图用 local_manifest.xml 文件配置 repo,以获取金鱼 Android 内核,网址为: https ://android.googlesource.com/kernel/goldfish.git
我已经编写了以下在 .repo/manifests/local_manifest.xml 中复制的 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 一起使用?
谢谢你。