Skip to content
Snippets Groups Projects
Commit df50ed4b authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

spread.yaml: add support for local squid-deb-proxy-client


Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent 113d0484
No related branches found
No related tags found
No related merge requests found
......@@ -28,8 +28,15 @@ environment:
# Use non-volatile tmp as the tests may REBOOT.
TEST_RAUC_KEYS_DIR: /var/tmp/rauc-keys
TEST_RAUC_FAKE_SYSTEM_DIR: /var/tmp/rauc-fake-system
HOST_APT_PROXY: "$(HOST: /usr/share/squid-deb-proxy-client/apt-avahi-discover 2>/dev/null)"
prepare: |
set -x
if [ -n "$HOST_APT_PROXY" ]; then
printf 'Acquire::http::Proxy "%s";\n' "$HOST_APT_PROXY" >/etc/apt/apt.conf.d/00spread-apt-proxy.conf
fi
# Install build dependencies if missing.
test -n "$(command -v go)" && test -f /usr/include/z.mk && test -f /lib/systemd/system/rauc.service && test -n "$(command -v mksquashfs)" && test -n "$(command -v jq)" && test -n "$(command -v mandb)" && test -n "$(command -v strace)" || (
apt-get update && apt-get install -y golang-go zmk rauc-service squashfs-tools jq man-db strace
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment