2014-03-07 9:57 GMT+08:00 Amit Pundir amit.pundir@linaro.org:
On 7 March 2014 09:34, Axel Lin axel.lin@ingics.com wrote:
2014-03-04 11:42 GMT+08:00 Amit Pundir amit.pundir@linaro.org:
On 3 March 2014 18:27, Axel Lin axel.lin@ingics.com wrote:
Hi, I'm using Linaro 14.01 release and Linaro14.02 just released now. I have cloned the android source code for Linaro 14.01 release. Is it possible to switch branches to Linaro14.02 release in the same repo trees?
Yes, just checkout linaro-android-14.02-release branch while doing repo init for your target platform (in the same directory where you have your 14.01 release sources) and do a repo sync. It will start cloning the sources on top of your existing 14.01 release sources.
Hi Amit,
I use below command to download and build 14.01 release. $ ./linaro_android_build_cmds.sh -m pinned-manifest-ann.xml
But now I got below errors when try to switch to 14.02-release. Did I miss something?
$ ./repo init -b linaro-android-14.02-release
Do "./repo init -u git://android.git.linaro.org/platform/manifest.git -b linaro-android-14.02-release -m MANIFEST_FILE" where MANIFEST_FILE is the manifest file for your target board (e.g. panda-linaro.xml) and then do "./repo sync".
I still got the same error:
$ ./repo init -u git://android.git.linaro.org/platform/manifest.git -b linaro-android-14.02-release -m panda-linaro.xml Traceback (most recent call last): File "/home/axel/linaro/android/.repo/repo/main.py", line 408, in <module> _Main(sys.argv[1:]) File "/home/axel/linaro/android/.repo/repo/main.py", line 384, in _Main result = repo._Run(argv) or 0 File "/home/axel/linaro/android/.repo/repo/main.py", line 143, in _Run result = cmd.Execute(copts, cargs) File "/home/axel/linaro/android/.repo/repo/subcmds/init.py", line 390, in Execute self._SyncManifest(opt) File "/home/axel/linaro/android/.repo/repo/subcmds/init.py", line 236, in _SyncManifest m.MetaBranchSwitch(opt.manifest_branch) File "/home/axel/linaro/android/.repo/repo/project.py", line 2534, in MetaBranchSwitch self.Sync_LocalHalf(syncbuf) File "/home/axel/linaro/android/.repo/repo/project.py", line 1158, in Sync_LocalHalf lost = self._revlist(not_rev(revid), HEAD) File "/home/axel/linaro/android/.repo/repo/project.py", line 2178, in _revlist return self.work_git.rev_list(*a, **kw) File "/home/axel/linaro/android/.repo/repo/project.py", line 2335, in rev_list p.stderr)) error.GitError: manifests rev-list ('^478de5b427049b3e9b4b19616f3df5bba719bf15', 'HEAD', '--'): fatal: bad revision 'HEAD'
Regards, Axel