|
|
|
@ -42,6 +42,7 @@ BASETGZ="/var/cache/pbuilder/base-$DISTRIBUTION@$ARCHITECTURE.tgz"
|
|
|
|
|
|
|
|
|
|
#-- select apt components
|
|
|
|
|
case "$DISTRIBUTION" in
|
|
|
|
|
# debian
|
|
|
|
|
jessie)
|
|
|
|
|
if [[ "$DISTRO" = "devuan" ]]; then
|
|
|
|
|
COMPONENTS="main"
|
|
|
|
@ -56,18 +57,21 @@ case "$DISTRIBUTION" in
|
|
|
|
|
COMPONENTS="main contrib non-free"
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
# devuan
|
|
|
|
|
ceres|beowulf|ascii)
|
|
|
|
|
COMPONENTS="main"
|
|
|
|
|
DEBOOTSTRAPOPTS=(--variant=buildd --no-check-gpg)
|
|
|
|
|
EXTRAPACKAGES="$EXTRAPACKAGES devuan-keyring"
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
eoan|disco|cosmic|bionic|artful|xenial|trusty|precise)
|
|
|
|
|
# ubuntu
|
|
|
|
|
focal|eoan|disco|cosmic|bionic|xenial|trusty)
|
|
|
|
|
COMPONENTS="main restricted universe multiverse"
|
|
|
|
|
DEBOOTSTRAPOPTS=(--variant=buildd)
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
raspbian-buster|raspbian-stretch|raspbian-jessie)
|
|
|
|
|
# raspbian
|
|
|
|
|
raspbian-bullseye|raspbian-buster|raspbian-stretch|raspbian-jessie)
|
|
|
|
|
COMPONENTS="main contrib non-free"
|
|
|
|
|
DEBOOTSTRAPOPTS=(--variant=buildd --no-check-gpg)
|
|
|
|
|
;;
|
|
|
|
@ -76,6 +80,11 @@ EXTRAPACKAGES="$EXTRAPACKAGES fakeroot apt-transport-https ca-certificates"
|
|
|
|
|
|
|
|
|
|
#-- select base apt sources
|
|
|
|
|
case "$DISTRIBUTION" in
|
|
|
|
|
# debian
|
|
|
|
|
sid|bullseye|buster|stretch)
|
|
|
|
|
MIRRORSITE=http://deb.debian.org/debian
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
jessie)
|
|
|
|
|
if [[ "$DISTRO" = "devuan" ]]; then
|
|
|
|
|
MIRRORSITE=http://auto.mirror.devuan.org/merged
|
|
|
|
@ -84,19 +93,17 @@ case "$DISTRIBUTION" in
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
sid|bullseye|buster|stretch)
|
|
|
|
|
MIRRORSITE=http://deb.debian.org/debian
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
wheezy)
|
|
|
|
|
MIRRORSITE=http://archive.debian.org/debian
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
# devuan
|
|
|
|
|
ceres|beowulf|ascii)
|
|
|
|
|
MIRRORSITE=http://auto.mirror.devuan.org/merged
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
eoan|disco|cosmic|bionic|artful|xenial|trusty|precise)
|
|
|
|
|
# ubuntu
|
|
|
|
|
focal|eoan|disco|cosmic|bionic|xenial|trusty)
|
|
|
|
|
if [ "$ARCHITECTURE" = "amd64" ] || [ "$ARCHITECTURE" = "i386" ]; then
|
|
|
|
|
MIRRORSITE=http://archive.ubuntu.com/ubuntu
|
|
|
|
|
else
|
|
|
|
@ -104,7 +111,8 @@ case "$DISTRIBUTION" in
|
|
|
|
|
fi
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
raspbian-buster|raspbian-stretch|raspbian-jessie)
|
|
|
|
|
# raspbian
|
|
|
|
|
raspbian-bullseye|raspbian-buster|raspbian-stretch|raspbian-jessie)
|
|
|
|
|
MIRRORSITE=http://ftp.fi.muni.cz/pub/linux/raspbian/raspbian
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
@ -140,14 +148,14 @@ fi
|
|
|
|
|
case "$DISTRIBUTION" in
|
|
|
|
|
sid|bullseye|buster|stretch|\
|
|
|
|
|
ceres|beowulf|ascii|\
|
|
|
|
|
raspbian-buster|raspbian-stretch|\
|
|
|
|
|
eoan|disco|cosmic|bionic|artful)
|
|
|
|
|
raspbian-bullseye|raspbian-buster|raspbian-stretch|\
|
|
|
|
|
focal|eoan|disco|cosmic|bionic)
|
|
|
|
|
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt"
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
jessie|wheezy|\
|
|
|
|
|
raspbian-jessie|\
|
|
|
|
|
xenial|trusty|precise)
|
|
|
|
|
xenial|trusty)
|
|
|
|
|
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-aptitude"
|
|
|
|
|
;;
|
|
|
|
|
esac
|
|
|
|
|