mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-05 18:50:09 +02:00
buildserver: support installing packages from Debian/testing
Sometimes, a build process requires newer versions of build tools than are available in Debian/stable. Oftentimes, using the package straight from Debian/testing works fine when a package is not available as a backport. libtool 2.4.6 is needed for building VLC, so it is one example of this. The preferences file sets up the apt "pinning" so that all updates are not installed from testing, only the packages that are requested by adding "/testing" after then package name. closes #224
This commit is contained in:
parent
0eea26753a
commit
7af7297ca8
@ -16,6 +16,8 @@ printf 'APT::Acquire::Retries "20";\n' \
|
||||
|
||||
if grep --quiet jessie /etc/apt/sources.list; then
|
||||
echo "deb $debian_mirror jessie-backports main" > /etc/apt/sources.list.d/backports.list
|
||||
echo "deb $debian_mirror testing main" > /etc/apt/sources.list.d/testing.list
|
||||
printf "Package: *\nPin: release o=Debian,a=testing\nPin-Priority: -300\n" > /etc/apt/preferences.d/debian-testing
|
||||
fi
|
||||
|
||||
dpkg --add-architecture i386
|
||||
@ -59,8 +61,8 @@ packages="
|
||||
libsaxonb-java
|
||||
libssl-dev
|
||||
libstdc++6:i386
|
||||
libtool
|
||||
libtool-bin
|
||||
libtool/testing
|
||||
libtool-bin/testing
|
||||
make
|
||||
maven
|
||||
mercurial
|
||||
|
Loading…
Reference in New Issue
Block a user