aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2021-02-26 17:30:30 +0100
committerOliver Smith <osmith@sysmocom.de>2021-02-26 17:34:20 +0100
commit52578dde20fd034b92cff7817f13d86cf463fe3a (patch)
treee7dd76be31ccd37fc18c4b9da4109915a8e44490 /scripts
parentbce53ba7d01c412241a91c2491f02a2d82f0d9f5 (diff)
repo-install-test: install repo after repo key
In previous patch 27ee885a689163cede1fc0c7f76584ccbb7abb41, I made sure that "apt-get update" runs before trying to install wget to download the repository key. But of course the OBS repository should not be present before installing the repo key, or else it will fail: E: The repository 'http://download.opensuse.org/.../Debian_10 ./ InRelease' is not signed. Fixes: 27ee885 ("repo-install-test: apt update before install wget") Change-Id: If79484f9ffe2a14ce6481b53867f5aee111aa11b
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/repo-install-test/run-inside-docker.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/repo-install-test/run-inside-docker.sh b/scripts/repo-install-test/run-inside-docker.sh
index 2ed78f6..4a5f01a 100755
--- a/scripts/repo-install-test/run-inside-docker.sh
+++ b/scripts/repo-install-test/run-inside-docker.sh
@@ -106,7 +106,6 @@ configure_osmocom_repo_debian() {
local release_key="/var/cache/apt/${proj}_Release.key"
echo "Configuring Osmocom repository"
- echo "deb http://$obs_repo ./" > "/etc/apt/sources.list.d/$proj.list"
# Add repository key
if ! [ -e "$release_key" ]; then
@@ -116,6 +115,7 @@ configure_osmocom_repo_debian() {
fi
apt-key add "$release_key"
+ echo "deb http://$obs_repo ./" > "/etc/apt/sources.list.d/$proj.list"
apt-get update
}