daotrunghieu / rpms / cockpit

Forked from rpms/cockpit 5 years ago
Clone

Blame SOURCES/0007-test-Disable-all-third-party-repos-in-semaphore.patch

2587cc
From 1dee51d8bc1913de6c4287b0791a2f847e6596f1 Mon Sep 17 00:00:00 2001
2587cc
From: Martin Pitt <martinpitt@users.noreply.github.com>
2587cc
Date: Wed, 17 May 2017 09:42:47 +0200
2587cc
Subject: [PATCH 07/16] test: Disable all third-party repos in semaphore
2587cc
2587cc
Semaphore adds 21(!) third-party apt sources. This currently causes an
2587cc
authentication failure for git as they added a PPA without adding the
2587cc
corresponding public key. We don't need any packages from those
2587cc
third-party sources, they only make stuff harder to reproduce locally
2587cc
and package installation less reliable.
2587cc
2587cc
Closes #6564
2587cc
Reviewed-by: Dominik Perpeet <dperpeet@redhat.com>
2587cc
2587cc
So disable all third-party sources in apt.
2587cc
---
2587cc
 tools/semaphore-prepare | 1 +
2587cc
 1 file changed, 1 insertion(+)
2587cc
2587cc
diff --git a/tools/semaphore-prepare b/tools/semaphore-prepare
2587cc
index 26c4535..ab21964 100755
2587cc
--- a/tools/semaphore-prepare
2587cc
+++ b/tools/semaphore-prepare
2587cc
@@ -1,5 +1,6 @@
2587cc
 #!/bin/bash
2587cc
 
2587cc
 change-phantomjs-version 2.1.1
2587cc
+sudo rm /etc/apt/sources.list.d/*
2587cc
 sudo apt-get update
2587cc
 sudo apt-get -y --no-install-recommends install autoconf automake gdb glib-networking gtk-doc-tools intltool libglib2.0-dev libgudev-1.0-dev libjavascript-minifier-xs-perl libjson-glib-dev libjson-perl libkeyutils-dev liblvm2-dev libnm-glib-dev libpam0g-dev libpcp3-dev libpcp-import1-dev libpcp-pmda3-dev libpolkit-agent-1-dev libpolkit-gobject-1-dev libssh-dev libsystemd-daemon-dev libsystemd-login-dev libsystemd-journal-dev libkrb5-dev pcp pkg-config valgrind xmlto xsltproc pyflakes npm nodejs-legacy git libfontconfig1 dbus ssh libglib2.0-0-dbg glib-networking-dbg
2587cc
-- 
2587cc
2.9.4
2587cc