forked from brl/citadel
Build citadel-tools from the same git repo owner as citadel
This commit is contained in:
parent
68dc48bcf7
commit
1dc36e94fc
@ -10,7 +10,14 @@ inherit cargo systemd gsettings pkgconfig
|
|||||||
#
|
#
|
||||||
SRCREV = "421b0e27d777c418a26016bd8065715823504637"
|
SRCREV = "421b0e27d777c418a26016bd8065715823504637"
|
||||||
|
|
||||||
GIT_URI = "git://git.subgraph.com/brl/citadel-tools.git;protocol=https;branch=master"
|
# get git repo owner from citadel to find the correct citadel-tools repo path
|
||||||
|
python () {
|
||||||
|
import subprocess
|
||||||
|
git_owner = subprocess.check_output(['git', 'remote', 'get-url', 'origin']).strip().decode('utf-8').split('/')[0].split(':')[1]
|
||||||
|
d.setVar("GIT_REPO_OWNER", git_owner)
|
||||||
|
}
|
||||||
|
|
||||||
|
GIT_URI = "git://git.subgraph.com/${GIT_REPO_OWNER}/citadel-tools.git;protocol=https;branch=master"
|
||||||
|
|
||||||
# If Cargo.lock changes in citadel-tools, this needs to be updated.
|
# If Cargo.lock changes in citadel-tools, this needs to be updated.
|
||||||
# cargo bitbake does not support workspaces so as a workaround first
|
# cargo bitbake does not support workspaces so as a workaround first
|
||||||
|
Loading…
Reference in New Issue
Block a user