Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1767 from GabyCT/topic/removelibdebian
Browse files Browse the repository at this point in the history
ci: Remove librbd1 repository on Debian
  • Loading branch information
jodh-intel authored Jun 26, 2019
2 parents 86d2327 + 78676a3 commit 66ecddf
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .ci/setup_env_debian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,6 @@ main()

[ "$setup_type" = "minimal" ] && exit 0

echo "Enable librbd1 repository"
sudo bash -c "cat <<EOF > /etc/apt/sources.list.d/unstable.list
deb http://deb.debian.org/debian unstable main contrib non-free
deb-src http://deb.debian.org/debian unstable main contrib non-free
EOF"

echo "Lower priority than stable"
sudo bash -c "cat <<EOF > /etc/apt/preferences.d/unstable
Package: *
Pin: release a=unstable
Pin-Priority: 10
EOF"

echo "Install librbd1"
chronic sudo -E apt update && sudo -E apt install -y -t unstable librbd1

if [ "$(arch)" == "x86_64" ]; then
echo "Install Kata Containers OBS repository"
obs_url="${KATA_OBS_REPO_BASE}/Debian_${VERSION_ID}"
Expand Down

0 comments on commit 66ecddf

Please sign in to comment.