diff options
Diffstat (limited to 'INSTALL/tasks.d/80_xds')
-rw-r--r-- | INSTALL/tasks.d/80_xds | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/INSTALL/tasks.d/80_xds b/INSTALL/tasks.d/80_xds index b5c4372..0900958 100644 --- a/INSTALL/tasks.d/80_xds +++ b/INSTALL/tasks.d/80_xds @@ -2,10 +2,12 @@ export DISTRO="Debian_9.0" -wget -t 3 -T 60 -O - http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/app-Development/${DISTRO}/Release.key | apt-key add - +[[ -z "$XDS_RELEASE_BRANCH" ]] && XDS_RELEASE_BRANCH="AGL_Master" + +wget -t 3 -T 60 -O - https://download.opensuse.org/repositories/isv:/LinuxAutomotive:/${XDS_RELEASE_BRANCH}/${DISTRO}/Release.key | apt-key add - cat >> /etc/apt/sources.list.d/AGL.list <<EOF -deb http://download.opensuse.org/repositories/isv:/LinuxAutomotive:/app-Development/${DISTRO}/ ./ +deb https://download.opensuse.org/repositories/isv:/LinuxAutomotive:/${XDS_RELEASE_BRANCH}/${DISTRO}/ ./ EOF apt-get update -y |