用于编译cm-12.0 的 local_manifest.xml文件

将代码保存为 romservice.xml文件

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="CyanogenMod/android_device_lge_hammerheadcaf" path="device/lge/hammerheadcaf" remote="github" />
<project name="CyanogenMod/android_kernel_lge_hammerhead" path="kernel/lge/hammerhead" remote="github" revision="cm-12.0-caf" />
<project name="CyanogenMod/android_device_qcom_common" path="device/qcom/common" remote="github" />
<project name="CyanogenMod/android_device_lge_mako" path="device/lge/mako" remote="github" />
<project name="CyanogenMod/android_kernel_google_msm" path="kernel/google/msm" remote="github" />
<!-- remove the CM bootable_recovery code and replace it with my own change code -->
<remove-project name="CyanogenMod/android_bootable_recovery" />
<project name="sndnvaps/android_bootable_recovery_twrp" path="bootable/recovery" remote="github" revision="cm-12.0-zh_CN" />
<!-- vendor for lge device -->
<project name="sndnvaps/proprietary_vendor_lge" path="vendor/lge/" remote="github" revision="cm-12.0" /> </manifest>

把保存的文件复制到 .repo/local_manifests 目录里面去(如果local_manifests目录不存在,使用mkdir -p .repo/local_manifests来创建)

复制命令

cp romservice.xml .repo/local_manifests/

再次同步源代码

repo sync

上一篇:curl查看http请求消息的时长


下一篇:初次用SqlServer查看本地的Excel文件时需要注意的地方