1
0
forked from brl/citadel

Build citadel-tools from the same git repo owner as citadel

This commit is contained in:
isa 2024-07-15 18:02:59 -04:00 committed by brl
parent 68dc48bcf7
commit 1dc36e94fc

View File

@ -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