DEB build scripts: updated list of supported distros.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/88/head
Michele Calgaro 3 years ago
parent 846c5e46c1
commit 970c50cbb3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -55,7 +55,7 @@ case "$DISTRIBUTION" in
fi fi
;; ;;
sid|bullseye|buster|stretch|wheezy) sid|bullseye|buster|stretch)
COMPONENTS="main contrib non-free" COMPONENTS="main contrib non-free"
;; ;;
@ -67,13 +67,13 @@ case "$DISTRIBUTION" in
;; ;;
# ubuntu # ubuntu
groovy|focal|eoan|disco|bionic|xenial|trusty) impish|hirsute|groovy|focal|bionic|xenial|trusty)
COMPONENTS="main restricted universe multiverse" COMPONENTS="main restricted universe multiverse"
DEBOOTSTRAPOPTS=(--variant=buildd) DEBOOTSTRAPOPTS=(--variant=buildd)
;; ;;
# raspbian # raspbian
raspbian-bullseye|raspbian-buster|raspbian-stretch|raspbian-jessie) raspbian-bullseye|raspbian-buster|raspbian-stretch)
COMPONENTS="main contrib non-free" COMPONENTS="main contrib non-free"
DEBOOTSTRAPOPTS=(--variant=buildd --no-check-gpg) DEBOOTSTRAPOPTS=(--variant=buildd --no-check-gpg)
;; ;;
@ -95,17 +95,13 @@ case "$DISTRIBUTION" in
fi fi
;; ;;
wheezy)
MIRRORSITE=http://archive.debian.org/debian
;;
# devuan # devuan
ceres|chimaera|beowulf|ascii) ceres|chimaera|beowulf|ascii)
MIRRORSITE=http://auto.mirror.devuan.org/merged MIRRORSITE=http://auto.mirror.devuan.org/merged
;; ;;
# ubuntu # ubuntu
groovy|focal|eoan|disco|bionic|xenial|trusty) impish|hirsute|groovy|focal|bionic|xenial|trusty)
if [ "$ARCHITECTURE" = "amd64" ] || [ "$ARCHITECTURE" = "i386" ]; then if [ "$ARCHITECTURE" = "amd64" ] || [ "$ARCHITECTURE" = "i386" ]; then
MIRRORSITE=http://archive.ubuntu.com/ubuntu MIRRORSITE=http://archive.ubuntu.com/ubuntu
else else
@ -114,7 +110,7 @@ case "$DISTRIBUTION" in
;; ;;
# raspbian # raspbian
raspbian-bullseye|raspbian-buster|raspbian-stretch|raspbian-jessie) raspbian-bullseye|raspbian-buster|raspbian-stretch)
MIRRORSITE=http://ftp.fi.muni.cz/pub/linux/raspbian/raspbian MIRRORSITE=http://ftp.fi.muni.cz/pub/linux/raspbian/raspbian
;; ;;
esac esac
@ -151,12 +147,11 @@ case "$DISTRIBUTION" in
sid|bullseye|buster|stretch|\ sid|bullseye|buster|stretch|\
ceres|chimaera|beowulf|ascii|\ ceres|chimaera|beowulf|ascii|\
raspbian-bullseye|raspbian-buster|raspbian-stretch|\ raspbian-bullseye|raspbian-buster|raspbian-stretch|\
groovy|focal|eoan|disco|bionic) impish|hirsute|groovy|focal|bionic)
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt" PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt"
;; ;;
jessie|wheezy|\ jessie|\
raspbian-jessie|\
xenial|trusty) xenial|trusty)
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-aptitude" PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-aptitude"
;; ;;

Loading…
Cancel
Save