|
|
@ -45,25 +45,25 @@ BASETGZ="/var/cache/pbuilder/base-$DISTRIBUTION@$ARCHITECTURE.tgz"
|
|
|
|
#-- select apt components
|
|
|
|
#-- select apt components
|
|
|
|
case "$DISTRIBUTION" in
|
|
|
|
case "$DISTRIBUTION" in
|
|
|
|
# debian
|
|
|
|
# debian
|
|
|
|
sid|bookwork|bullseye|buster|stretch)
|
|
|
|
sid|trixie|bookwork|bullseye|buster)
|
|
|
|
COMPONENTS="main contrib non-free"
|
|
|
|
COMPONENTS="main contrib non-free"
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
# devuan
|
|
|
|
# devuan
|
|
|
|
ceres|daedalus|chimaera|beowulf|ascii)
|
|
|
|
ceres|daedalus|chimaera|beowulf)
|
|
|
|
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
|
|
|
|
kinetic|jammy|impish|hirsute|focal|bionic|xenial)
|
|
|
|
mantic|lunar|kinetic|jammy|focal|bionic)
|
|
|
|
COMPONENTS="main restricted universe multiverse"
|
|
|
|
COMPONENTS="main restricted universe multiverse"
|
|
|
|
DEBOOTSTRAPOPTS=(--variant=buildd)
|
|
|
|
DEBOOTSTRAPOPTS=(--variant=buildd)
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
# raspbian
|
|
|
|
# raspbian
|
|
|
|
raspbian-bookworm|raspbian-bullseye|raspbian-buster|raspbian-stretch)
|
|
|
|
raspbian-bookworm|raspbian-bullseye|raspbian-buster)
|
|
|
|
COMPONENTS="main contrib non-free"
|
|
|
|
COMPONENTS="main contrib non-free"
|
|
|
|
DEBOOTSTRAPOPTS=(--variant=buildd --no-check-gpg)
|
|
|
|
DEBOOTSTRAPOPTS=(--variant=buildd --no-check-gpg)
|
|
|
|
;;
|
|
|
|
;;
|
|
|
@ -73,17 +73,17 @@ EXTRAPACKAGES="$EXTRAPACKAGES fakeroot apt-transport-https ca-certificates"
|
|
|
|
#-- select base apt sources
|
|
|
|
#-- select base apt sources
|
|
|
|
case "$DISTRIBUTION" in
|
|
|
|
case "$DISTRIBUTION" in
|
|
|
|
# debian
|
|
|
|
# debian
|
|
|
|
sid|bookwork|bullseye|buster|stretch)
|
|
|
|
sid|trixie|bookwork|bullseye|buster)
|
|
|
|
MIRRORSITE=http://deb.debian.org/debian
|
|
|
|
MIRRORSITE=http://deb.debian.org/debian
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
# devuan
|
|
|
|
# devuan
|
|
|
|
ceres|daedalus|chimaera|beowulf|ascii)
|
|
|
|
ceres|daedalus|chimaera|beowulf)
|
|
|
|
MIRRORSITE=http://auto.mirror.devuan.org/merged
|
|
|
|
MIRRORSITE=http://auto.mirror.devuan.org/merged
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
# ubuntu
|
|
|
|
# ubuntu
|
|
|
|
kinetic|jammy|impish|hirsute|focal|bionic|xenial)
|
|
|
|
mantic|lunar|kinetic|jammy|focal|bionic)
|
|
|
|
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
|
|
|
@ -92,7 +92,7 @@ case "$DISTRIBUTION" in
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
# raspbian
|
|
|
|
# raspbian
|
|
|
|
raspbian-bookworm|raspbian-bullseye|raspbian-buster|raspbian-stretch)
|
|
|
|
raspbian-bookworm|raspbian-bullseye|raspbian-buster)
|
|
|
|
MIRRORSITE=http://ftp.fi.muni.cz/pub/linux/raspbian/raspbian
|
|
|
|
MIRRORSITE=http://ftp.fi.muni.cz/pub/linux/raspbian/raspbian
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
esac
|
|
|
@ -117,19 +117,5 @@ if [ -z "$DEB_SIGN_KEYID" ]; then
|
|
|
|
AUTO_DEBSIGN=${AUTO_DEBSIGN:-no}
|
|
|
|
AUTO_DEBSIGN=${AUTO_DEBSIGN:-no}
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
#-- choose dependency solver
|
|
|
|
#-- dependency solver
|
|
|
|
#-- apt is better if target distribution contains apt >= 1.4~beta3
|
|
|
|
|
|
|
|
#-- aptitude is better if target distribution contains apt < 1.4~beta3
|
|
|
|
|
|
|
|
case "$DISTRIBUTION" in
|
|
|
|
|
|
|
|
sid|bookwork|bullseye|buster|stretch|\
|
|
|
|
|
|
|
|
ceres|daedalus|chimaera|beowulf|ascii|\
|
|
|
|
|
|
|
|
raspbian-bookworm|raspbian-bullseye|raspbian-buster|raspbian-stretch|\
|
|
|
|
|
|
|
|
kinetic|jammy|impish|hirsute|focal|bionic)
|
|
|
|
|
|
|
|
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt"
|
|
|
|
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt"
|
|
|
|
;;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
xenial)
|
|
|
|
|
|
|
|
PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-aptitude"
|
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
esac
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|