Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [IGNORE]
- Hi,
- I think you want to get source from CyanogenMod via repo but it got
- problem. Now korg (android.git.kernel.org) is in problem. So if the
- manifest from CyanogenMod includes any git projects hosted in korg,
- you can find connection error even you run 'repo init' once again.
- I think http://goo.gl/YiFM6 is default.xml (manifest.xml) of
- CyanogenMod. You can find two type of project item like following.
- ...line 17
- <project path="bionic" name="CyanogenMod/android_bionic"
- remote="github" />
- <project path="bootable/bootloader/legacy" name="platform/bootable/
- bootloader/legacy" />
- ...
- project CyanogenMod/android_bionic is hosted by github(remote="github"
- and project platform/bootable/bootloader/legacy is hosted by default
- remote. (no remote in the line means using default remote)
- You can find remote list in the same xml file.
- ...line 2
- <manifest>
- <remote name="korg"
- fetch="git://android.git.kernel.org/"
- review="review.source.android.com" />
- <remote name="github"
- fetch="git://github.com/"
- review="review.cyanogenmod.com" />
- <default revision="gingerbread"
- remote="korg" />
- ...
- Default remote is korg that is in problem now. Another remote is
- github that is in no problem.
- So you can run following steps to get CyanogenMod (or anything like
- that).
- [/IGNORE]
- === Step 1 ===
- Run repo init with alternative remote git.omapzoom.org (TI remote)
- $ repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
- --repo-url=git://git.omapzoom.org/tools/repo.git
- === Step 2 ===
- Change default remote from korg to omapzoom(TI). You can add remote
- and then change default remote.
- $ vi .repo/manifest.xml
- <<<<<<Before
- <manifest>
- <remote name="korg"
- fetch="git://android.git.kernel.org/"
- review="review.source.android.com" />
- <remote name="github"
- fetch="git://github.com/"
- review="review.cyanogenmod.com" />
- <default revision="gingerbread"
- remote="korg" />
- ======
- <manifest>
- <remote name="korg"
- fetch="git://android.git.kernel.org/"
- review="review.source.android.com" />
- <remote name="github"
- fetch="git://github.com/"
- review="review.cyanogenmod.com" />
- <remote name="omapzoom"
- fetch="git://git.omapzoom.org/" />
- <default revision="gingerbread"
- remote="omapzoom" />
- >>>>>>After
- === step 3 ===
- $ repo sync
- === misc ===
- After korg has fixed, you can do following (not now)
- $ cd .repo/manifests
- $ git reset --hard
- $ repo sync
- It will remove your modification of manifest.xml
- Originally I consider CAF(git://codeaurora.org by Qualcomm) for
- default remote but branch name between korg and CAF is little bit
- different (e.g. korg : gingerbread, CAF : korg/gingerbread). So I use
- omapzoom remote. Anything is OK. But using omapzoom is simple in this
- case.
- Anyhow, important thing is you can use CAF or omapzoom instead of korg
- sometimes. Because CAF and omapzoom remote is hosting mirror branch of
- korg. So you can change .repo/manifest.xml to use different remote and
- revision(e.g. branch, tag, commitID)
- Try it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement