diff options
author | 2018-07-06 17:28:46 +0200 | |
---|---|---|
committer | 2018-07-06 17:28:46 +0200 | |
commit | 12084ff220d7f473378e037d695b974261e91888 (patch) | |
tree | fcd1380bc72a47c328936fbcb1d6917e36bca553 /INSTALL/tasks.d | |
parent | 26a2202974b7db8d8281456cfd251209b1e6e4cc (diff) |
Update XDS repo url and allow to set release branch
Change-Id: I0b974bcc0ba60ca75489303775cddb128a6709cd
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'INSTALL/tasks.d')
-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 |