@cchenry I am going through these steps but need to confirm something first.
When getting the source (or syncing the leaf profile) I always get two errors for packages not found:
E: Package ‘python-git’ has no installation candidate
This is because the package has been replaced with python-git-doc
E: Unable to locate package repo
this is because this is not a real package but more of a tool…?
So I have to ignore the unknown dependencies for the workspace:
~/newLegatoWorkspace$ leaf env workspace --set LEAF_IGNORE_UNKNOWN_APT=1
and to install the packages manually. (I have already done this before).
~/newLegatoWorkspace$ sudo apt-get install python-git-doc
Reading package lists… Done
Building dependency tree
Reading state information… Done
python-git-doc is already the newest version (3.0.7-1).
0 to upgrade, 0 to newly install, 0 to remove and 3 not to upgrade.
while for the repo tool a followed the setup from a forum:
mkdir ~/bin
PATH=~/bin:PATH
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
This is the part where the repo gets initialized and synched:
Ready to sync in /home/claudio/newLegatoWorkspace/swi-linux-src directory:
repo init -u ssh://git@github.com/legatoproject/manifest -m mdm9x06/tags/SWI9X06Y_02.22.12.00/linux.xml -g default,-cache,proprietary ; repo sync
Proceed? (Y/n)
y
Checking credentials…
Downloading Repo source from git-repo - Git at Google
remote: Counting objects: 4, done
remote: Finding sources: 100% (140/140)
remote: Total 140 (delta 93), reused 140 (delta 93)
Receiving objects: 100% (140/140), 80.19 KiB | 181.00 KiB/s, done.
Resolving deltas: 100% (93/93), completed with 30 local objects.
Downloading manifest from ssh://git@github.com/legatoproject/manifest
remote: Enumerating objects: 3570, done.
remote: Counting objects: 100% (2342/2342), done.
remote: Compressing objects: 100% (812/812), done.
remote: Total 3570 (delta 1409), reused 2266 (delta 1336), pack-reused 1228
Your identity is: XXXXXX XXXXXX@XXXXXX.it
If you want to change this, please re-run ‘repo init’ with --config-name
repo has been initialized in /home/claudio/newLegatoWorkspace/swi-linux-src
Fetching: 100% (7/7), done in 4m54.644s
Updating files: 100% (52925/52925), done.
Checking out: 100% (7/7), done in 16.997s
repo sync has finished successfully.
Sync done
Extracting FX30 sources
Done.
Are these steps correct or I am doing something wrong?
It seems all good to me, but I have done the same setup on 4 different virtual machines and I can`t figure out why leaf is not syncing properly every time.