After a few days gap (busy with office work) I got back to the porting task. Finally after following the steps mentioned by UniSuperBox, I created a manifest file which looks as below
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project path="kernel/samsung/manta" name="android_kernel_samsung_manta" remote="los" />
<project path="external/stlport" name="android_external_stlport" remote="los" />
<project path="hardware/samsung_slsi/exynos5" name="android_hardware_samsung_slsi_exynos5" remote="los" />
</manifest>
Now when I initiate the command "./halium/devices/setup manta", I end up getting following errors.
aravind@UbuntuTouch:~/halium$ ./halium/devices/setup manta
*****************************************
I: Configuring for device samsung_manta
*****************************************
... A new repo command ( 1.25) is available.
... You should upgrade soon:
cp /home/aravind/halium/.repo/repo/repo /usr/bin/repo
fatal: duplicate path external/stlport in /home/aravind/halium/.repo/manifest.xml
... A new repo command ( 1.25) is available.
... You should upgrade soon:
cp /home/aravind/halium/.repo/repo/repo /usr/bin/repo
fatal: duplicate path external/stlport in /home/aravind/halium/.repo/manifest.xml
*******************************************
*******************************************
aravind@UbuntuTouch:~/halium$
Then I figured the error are because of similar entries existing for stlport in files
halium/devices/manifests/samsung_manta.xml
AND
halium/.repo/manifest.xml
Now I removed the entry for stlport in file halium/.repo/manifest.xml, then tried the command "./halium/devices/setup manta"... now I see following erros
aravind@UbuntuTouch:~/halium$ ./halium/devices/setup manta
*****************************************
I: Configuring for device samsung_manta
*****************************************
... A new repo command ( 1.25) is available.
... You should upgrade soon:
cp /home/aravind/halium/.repo/repo/repo /usr/bin/repo
Fetching projects: 8% (14/172)error: info is different in /home/aravind/halium/.repo/projects/external/stlport.git vs /home/aravind/halium/.repo/project-objects/android_external_stlport.git
error: Cannot fetch android_external_stlport (GitError: --force-sync not enabled; cannot overwrite a local work tree. If you're comfortable with the possibility of losing the work tree's git metadata, use `repo sync --force-sync external/stlport` to proceed.)
Exception in thread Thread-26:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/aravind/halium/.repo/repo/subcmds/sync.py", line 282, in _FetchProjectList
success = self._FetchHelper(opt, project, *args, **kwargs)
File "/home/aravind/halium/.repo/repo/subcmds/sync.py", line 327, in _FetchHelper
prune=opt.prune)
File "/home/aravind/halium/.repo/repo/project.py", line 1261, in Sync_NetworkHalf
self._InitGitDir(force_sync=force_sync)
File "/home/aravind/halium/.repo/repo/project.py", line 2366, in _InitGitDir
raise e
GitError: --force-sync not enabled; cannot overwrite a local work tree. If you're comfortable with the possibility of losing the work tree's git metadata, use `repo sync --force-sync external/stlport` to proceed.
Fetching projects: 15% (26/172)
error: Exited sync due to fetch errors
... A new repo command ( 1.25) is available.
... You should upgrade soon:
cp /home/aravind/halium/.repo/repo/repo /usr/bin/repo
Syncing work tree: 44% (76/171)Traceback (most recent call last):
File "/home/aravind/halium/.repo/repo/main.py", line 547, in <module>
_Main(sys.argv[1:])
File "/home/aravind/halium/.repo/repo/main.py", line 522, in _Main
result = repo._Run(argv) or 0
File "/home/aravind/halium/.repo/repo/main.py", line 184, in _Run
result = cmd.Execute(copts, cargs)
File "/home/aravind/halium/.repo/repo/subcmds/sync.py", line 855, in Execute
project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
File "/home/aravind/halium/.repo/repo/project.py", line 1383, in Sync_LocalHalf
revid = self.GetRevisionId(all_refs)
File "/home/aravind/halium/.repo/repo/project.py", line 1365, in GetRevisionId
rev = rem.ToLocal(self.revisionExpr)
File "/home/aravind/halium/.repo/repo/git_config.py", line 700, in ToLocal
raise GitError('remote %s does not have %s' % (self.name, rev))
error.GitError: remote los does not have refs/heads/cm-14.1
*******************************************
*******************************************
aravind@UbuntuTouch:~/halium$
Any suggestions?!