FS-11361: [Build-System] Switch Debian packages building script util.sh from jessie stable to stretch stable.

v1.8
Andrey Volk 5 years ago
parent 1cf4981a82
commit f98da7d5cc
  1. 90
      debian/util.sh

90
debian/util.sh vendored

@ -46,9 +46,9 @@ find_distro () {
case "$1" in
experimental) echo "sid";;
unstable) echo "sid";;
testing) echo "stretch";;
stable) echo "jessie";;
oldstable) echo "wheezy";;
testing) echo "buster";;
stable) echo "stretch";;
oldstable) echo "jessie";;
*) echo "$1";;
esac
}
@ -56,9 +56,9 @@ find_distro () {
find_suite () {
case "$1" in
sid) echo "unstable";;
stretch) echo "testing";;
jessie) echo "stable";;
wheezy) echo "oldstable";;
buster) echo "testing";;
stretch) echo "stable";;
jessie) echo "oldstable";;
*) echo "$1";;
esac
}
@ -305,12 +305,11 @@ build_debs () {
use_custom_sources=false
fi
if [[ "$custom_source_file" == "/tmp/fs.sources.list" && ! -e "/tmp/fs.sources.list" ]]; then
echo "deb http://files.freeswitch.org/repo/deb/debian/ jessie main" >> "/tmp/fs.sources.list"
echo "deb [trusted=yes] http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" >> "/tmp/fs.sources.list"
fi
if [[ "$custom_keyring" == "/tmp/fs.gpg" && ! -r "/tmp/fs.gpg" ]]; then
cat << EOF > "/tmp/fs.gpg"
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.12 (GNU/Linux)
mQINBFlVeA4BEADg3MkzUvnbuqG7S6ppt0BJIYx2WIlDzsj2EBPBBo7VpppWPGa/
5IDuCgSTVeNPffo6jlHk6HFK4g3r+oVJIDoSGE8bKHAeva/iQRUx5o56zXBVOu8q
@ -324,42 +323,43 @@ acyPLohm0W87q2N/6xZ4OH7oMHQFos3hrknlESySN1iJz2qyuysL0yh77OWtdJH+
GIsnftEH33ggG69FHZRDouC60C2HwWxrOwngCSxFEdQppJZjI1H5wSIUOuywZ6a0
+mSe/ZnZKL/hYjy/ZQhGWdmliN8V0WF2MEesk1ouQg63bzxOYEo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IuHNV
UIIfeR9+Y/8eT7g7mhmmidjhDXQ9Ot+MdF2tSsBk8WssXnAEeaWiZoSVl6ux5bYm
XdiqaK1KoINrEt/5E80L2jsADp/uXczIkslH5W9PaMp0QHKOQa/0VrXVkyDNgyzi
bNJmOz8oqhd/LleeQpgAbH3LQIMx4KVRyMVOTVjdCHptMd/xAr4KAQ3Smoi5CARL
bFgFljxEwjcB6EyzvY/VAH24lZz2Mwq4WIY4yDxc1OuKyoF6EXUXmbmOhhSO1nCe
+8rrZs2D85rJwFbD5nT2v/kqsgqUHUQLuwdjF1McJQpC0BK3cYXSMLe4vFE8B3/T
Y4o4oqgePeTYzkxVYj8=
=XPvO
-----END PGP PUBLIC KEY BLOCK-----
EOF
fi
@ -436,7 +436,7 @@ default_distros () {
local host_distro="Debian"
test -z "$(which lsb_release)" || host_distro="$(lsb_release -is)"
case "$host_distro" in
Debian) echo "sid jessie wheezy" ;;
Debian) echo "sid stretch jessie" ;;
Ubuntu) echo "utopic trusty" ;;
*) err "Unknown host distribution \"$host_distro\"" ;;
esac

Loading…
Cancel
Save