|
|
@ -45,35 +45,25 @@ BASETGZ="/var/cache/pbuilder/base-$DISTRIBUTION@$ARCHITECTURE.tgz"
|
|
|
|
#-- select apt components
|
|
|
|
#-- select apt components
|
|
|
|
case "$DISTRIBUTION" in
|
|
|
|
case "$DISTRIBUTION" in
|
|
|
|
# debian
|
|
|
|
# debian
|
|
|
|
jessie)
|
|
|
|
|
|
|
|
if [[ "$DISTRO" = "devuan" ]]; then
|
|
|
|
|
|
|
|
COMPONENTS="main"
|
|
|
|
|
|
|
|
DEBOOTSTRAPOPTS=(--variant=buildd --no-check-gpg)
|
|
|
|
|
|
|
|
EXTRAPACKAGES="$EXTRAPACKAGES devuan-keyring"
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
COMPONENTS="main contrib non-free"
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
sid|bookwork|bullseye|buster|stretch)
|
|
|
|
sid|bookwork|bullseye|buster|stretch)
|
|
|
|
COMPONENTS="main contrib non-free"
|
|
|
|
COMPONENTS="main contrib non-free"
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
# devuan
|
|
|
|
# devuan
|
|
|
|
ceres|chimaera|beowulf|ascii)
|
|
|
|
ceres|daedalus|chimaera|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"
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
# ubuntu
|
|
|
|
# ubuntu
|
|
|
|
impish|hirsute|groovy|focal|bionic|xenial|trusty)
|
|
|
|
jammy|impish|hirsute|groovy|focal|bionic|xenial)
|
|
|
|
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-bookworm|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)
|
|
|
|
;;
|
|
|
|
;;
|
|
|
@ -87,21 +77,13 @@ case "$DISTRIBUTION" in
|
|
|
|
MIRRORSITE=http://deb.debian.org/debian
|
|
|
|
MIRRORSITE=http://deb.debian.org/debian
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
jessie)
|
|
|
|
|
|
|
|
if [[ "$DISTRO" = "devuan" ]]; then
|
|
|
|
|
|
|
|
MIRRORSITE=http://auto.mirror.devuan.org/merged
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
MIRRORSITE=http://deb.debian.org/debian
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# devuan
|
|
|
|
# devuan
|
|
|
|
ceres|chimaera|beowulf|ascii)
|
|
|
|
ceres|daedalus|chimaera|beowulf|ascii)
|
|
|
|
MIRRORSITE=http://auto.mirror.devuan.org/merged
|
|
|
|
MIRRORSITE=http://auto.mirror.devuan.org/merged
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
# ubuntu
|
|
|
|
# ubuntu
|
|
|
|
impish|hirsute|groovy|focal|bionic|xenial|trusty)
|
|
|
|
jammy|impish|hirsute|groovy|focal|bionic|xenial)
|
|
|
|
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
|
|
|
@ -110,7 +92,7 @@ case "$DISTRIBUTION" in
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
# raspbian
|
|
|
|
# raspbian
|
|
|
|
raspbian-bullseye|raspbian-buster|raspbian-stretch)
|
|
|
|
raspbian-bookworm|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
|
|
|
@ -145,14 +127,14 @@ fi
|
|
|
|
#-- aptitude is better if target distribution contains apt < 1.4~beta3
|
|
|
|
#-- aptitude is better if target distribution contains apt < 1.4~beta3
|
|
|
|
case "$DISTRIBUTION" in
|
|
|
|
case "$DISTRIBUTION" in
|
|
|
|
sid|bookwork|bullseye|buster|stretch|\
|
|
|
|
sid|bookwork|bullseye|buster|stretch|\
|
|
|
|
ceres|chimaera|beowulf|ascii|\
|
|
|
|
ceres|daedalus|chimaera|beowulf|ascii|\
|
|
|
|
raspbian-bullseye|raspbian-buster|raspbian-stretch|\
|
|
|
|
raspbian-bookworm|raspbian-bullseye|raspbian-buster|raspbian-stretch|\
|
|
|
|
impish|hirsute|groovy|focal|bionic)
|
|
|
|
jammy|impish|hirsute|groovy|focal|bionic)
|
|
|
|
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt"
|
|
|
|
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt"
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
jessie|\
|
|
|
|
xenial)
|
|
|
|
xenial|trusty)
|
|
|
|
|
|
|
|
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-aptitude"
|
|
|
|
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-aptitude"
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|