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