1
0
forked from brl/citadel

2 Commits

Author SHA1 Message Date
isa
92eb461e5a Fix apt-cacher-ng not proxying correctly 2024-08-28 15:19:10 -04:00
isa
1dc36e94fc Build citadel-tools from the same git repo owner as citadel 2024-07-17 07:01:43 -04:00
2 changed files with 9 additions and 2 deletions

View File

@ -387,7 +387,7 @@ LocalDirs: acng-doc /usr/share/doc/apt-cacher-ng
# This restriction can be disabled by specifying a list of allowed ports or 0
# for any port.
#
# AllowUserPorts: 80
AllowUserPorts: 80 443
# Normally the HTTP redirection responses are forwarded to the original caller
# (i.e. APT) which starts a new download attempt from the new URL. This

View File

@ -10,7 +10,14 @@ inherit cargo systemd gsettings pkgconfig
#
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.
# cargo bitbake does not support workspaces so as a workaround first