Skip to content
Snippets Groups Projects
Commit aa2b6ea2 authored by Johannes Meyer's avatar Johannes Meyer
Browse files

icinga-build-deb-test: Pin local repo to 1001

parent 6aea60db
No related branches found
No related tags found
No related merge requests found
Pipeline #19283 passed
...@@ -15,7 +15,9 @@ fi ...@@ -15,7 +15,9 @@ fi
cd "${WORKDIR}/${BUILDDIR}" cd "${WORKDIR}/${BUILDDIR}"
dpkg -s apt-utils &>/dev/null || sudo apt-get install -y apt-utils dpkg -s apt-utils &>/dev/null || sudo apt-get install -y apt-utils
apt-ftparchive packages . > Packages apt-ftparchive packages . > Packages
echo "Codename: ./" > Release
echo "deb [trusted=yes] file:$(pwd)/ ./" | sudo tee /etc/apt/sources.list.d/local.list echo "deb [trusted=yes] file:$(pwd)/ ./" | sudo tee /etc/apt/sources.list.d/local.list
echo -e "Package: *\nPin: release n=./,c=\nPin-Priority: 1001" | sudo tee /etc/apt/preferences.d/local
sudo apt-get update sudo apt-get update
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment