Preface: I'm a noob
I decided that I wanted to try building a ROM, but I've been having a lot of trouble with getting source code...
I'm running Ubuntu 11.10, and I followed this CyanogenMod guide exactly, but something's going wrong... I made a bin directory in my home folder, as well as the android/system, then made the repo with this:
curl [URL=https://dl-ssl.google.com/dl/googlesource/git-repo/repo]https://dl-ssl.google.com/dl/googlesource/git-repo/repo[/URL] > ~/bin/repo
chmod a+x ~/bin/repo
I cd'ed into the android/system dir and ran this:
repo init -u [URL=git://github.com/CyanogenMod/android.git]git://github.com/CyanogenMod/android.git[/URL] -b gingerbread
I don't know if this did what it should have done, because I got this output "repo initialized in /home/patrick" instead of what I was expecting, which was something along these lines: "repo initialized in /home/patrick/android/system." I made sure that I my working directory was still right, and it was still android/system. I don't know if that was right or not, but I assumed it was since I had literally copied and pasted the lines from the wiki.
After that was all done, I typed
<br /> repo sync -j16<br />
I gave it some time to work, hoping it would start up again, but nothing happened so I closed the terminal.
I checked my home folder and it was cluttered with all of the folders and files from the attempted download of the source, instead of them being in /android/system where they should have been. Needless to say I'm pretty frustrated now, because after deleting all of the extra stuff I decided to try redoing the whole process, but now it just fetches projects and syncs the work tree but doesn't download anything new.
Any help is much appreciated, I just want to start by building my own nightly kang for now, but I can't until I have CM source
ALSO: Bonus points if someone can help me sync the ICS branch for CM9, I tried that too but got the same-ish errors, I don't know if you CAN sync it yet but I think it would be pretty cool to try building my own nightlies of that for the Incredible too!