summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/debian-chroot22
1 files changed, 20 insertions, 2 deletions
diff --git a/bin/debian-chroot b/bin/debian-chroot
index f36a29e..40f42d6 100755
--- a/bin/debian-chroot
+++ b/bin/debian-chroot
@@ -35,6 +35,10 @@ case "${DISTRIBUTION}" in
trixie*)
DERIVATIVE_DISTRIBUTION="horok"
;;
+
+ forky*)
+ DERIVATIVE_DISTRIBUTION="illuan"
+ ;;
esac
MIRROR="debian.ethz.ch"
@@ -55,7 +59,7 @@ case "${COMMAND}" in
create)
if [ ! -d "${CHROOT}" ]
then
- debootstrap --arch=${ARCHITECTURE} --include=progress-linux ${DISTRIBUTION} "${CHROOT}" http://${MIRROR}/debian
+ debootstrap --arch=${ARCHITECTURE} ${DISTRIBUTION} "${CHROOT}" http://${MIRROR}/debian
else
echo "${CHROOT}: file or directory already exists."
exit 1
@@ -72,6 +76,7 @@ EOF
cat > "${CHROOT}/etc/apt/sources.list" << EOF
deb http://${MIRROR}/debian ${DISTRIBUTION} main contrib non-free
+deb-src http://${MIRROR}/debian ${DISTRIBUTION} main contrib non-free
EOF
case "${DISTRIBUTION}" in
@@ -79,6 +84,7 @@ EOF
cat >> "${CHROOT}/etc/apt/sources.list" << EOF
deb http://${MIRROR}/debian experimental main contrib non-free
+deb-src http://${MIRROR}/debian experimental main contrib non-free
EOF
;;
@@ -96,7 +102,7 @@ EOF
;;
- bullseye*|bookworm*)
+ bullseye*|bookworm*|trixie*)
cat > "${CHROOT}/etc/apt/sources.list.d/progress-linux.sources" << EOF
Types: deb
@@ -211,6 +217,7 @@ cat > "${CHROOT}/build/.bash_history" << EOF
cd */ && sudo apt-get build-dep -y . && dpkg-buildpackage -B && cd .. && rm -rf */
sudo apt-get install -y -t ${DERIVATIVE_DISTRIBUTION}-backports debhelper
clear && pbuild.sh -a -o -n -u -b binary-arch -d ${DERIVATIVE_DISTRIBUTION} -p
+for i in source binary-arch binary-indep; do pbuild.sh -a -o -n -u -b \$i -d ${DERIVATIVE_DISTRIBUTION}-backports -t ALL -p ; done
rsync -aPv --progress --stats * apt.progress-linux.org::upload && rm -rf *
EOF
;;
@@ -219,6 +226,7 @@ cat > "${CHROOT}/build/.bash_history" << EOF
cd */ && sudo apt-get build-dep -y . && dpkg-buildpackage -B && cd .. && rm -rf */
sudo apt-get install -y -t ${DERIVATIVE_DISTRIBUTION}-backports debhelper
clear && pbuild.sh -a -o -n -u -b binary-arch -d ${DERIVATIVE_DISTRIBUTION}-backports -p
+for i in source binary-arch binary-indep; do pbuild.sh -a -o -n -u -b \$i -d ${DERIVATIVE_DISTRIBUTION}-backports -t ALL -p ; done
rsync -aPv --progress --stats * apt.progress-linux.org::upload && rm -rf *
EOF
;;
@@ -233,6 +241,7 @@ cat > "${CHROOT}/build/.bash_history" << EOF
cd */ && sudo apt-get build-dep -y . && dpkg-buildpackage -A && cd .. && rm -rf */
sudo apt-get install -y -t ${DERIVATIVE_DISTRIBUTION}-backports debhelper
clear && pbuild.sh -a -o -n -u -b binary-indep -d ${DERIVATIVE_DISTRIBUTION} -p
+for i in source binary-arch binary-indep; do pbuild.sh -a -o -n -u -b \$i -d ${DERIVATIVE_DISTRIBUTION}-backports -t ALL -p ; done
rsync -aPv --progress --stats * apt.progress-linux.org::upload && rm -rf *
EOF
;;
@@ -242,6 +251,7 @@ cat > "${CHROOT}/build/.bash_history" << EOF
cd */ && sudo apt-get build-dep -y . && dpkg-buildpackage -A && cd .. && rm -rf */
sudo apt-get install -y -t ${DERIVATIVE_DISTRIBUTION}-backports debhelper
clear && pbuild.sh -a -o -n -u -b binary-indep -d ${DERIVATIVE_DISTRIBUTION}-backports -p
+for i in source binary-arch binary-indep; do pbuild.sh -a -o -n -u -b \$i -d ${DERIVATIVE_DISTRIBUTION}-backports -t ALL -p ; done
rsync -aPv --progress --stats * apt.progress-linux.org::upload && rm -rf *
EOF
;;
@@ -255,6 +265,7 @@ cat > "${CHROOT}/build/.bash_history" << EOF
cd */ && sudo apt-get build-dep -y . && dpkg-buildpackage -A && cd .. && rm -rf */
sudo apt-get install -y -t ${DERIVATIVE_DISTRIBUTION}-backports debhelper
clear && pbuild.sh -o -u -b source -d ${DERIVATIVE_DISTRIBUTION} -p
+for i in source binary-arch binary-indep; do pbuild.sh -a -o -n -u -b \$i -d ${DERIVATIVE_DISTRIBUTION}-backports -t ALL -p ; done
rsync -aPv --progress --stats * apt.progress-linux.org::upload && rm -rf *
EOF
;;
@@ -264,6 +275,7 @@ cat > "${CHROOT}/build/.bash_history" << EOF
cd */ && sudo apt-get build-dep -y . && dpkg-buildpackage -A && cd .. && rm -rf */
sudo apt-get install -y -t ${DERIVATIVE_DISTRIBUTION}-backports debhelper
clear && pbuild.sh -o -u -b source -d ${DERIVATIVE_DISTRIBUTION}-backports -p
+for i in source binary-arch binary-indep; do pbuild.sh -a -o -n -u -b \$i -d ${DERIVATIVE_DISTRIBUTION}-backports -t ALL -p ; done
rsync -aPv --progress --stats * apt.progress-linux.org::upload && rm -rf *
EOF
;;
@@ -337,6 +349,7 @@ cat > "${CHROOT}/build/.bash_history" << EOF
cd */ && sudo apt-get build-dep -y . && dpkg-buildpackage -B && cd .. && rm -rf */
sudo apt-get install -y -t ${DERIVATIVE_DISTRIBUTION}-backports debhelper
clear && pbuild.sh -a -o -n -u -b binary-arch -d ${DERIVATIVE_DISTRIBUTION} -p
+for i in source binary-arch binary-indep; do pbuild.sh -a -o -n -u -b \$i -d ${DERIVATIVE_DISTRIBUTION}-backports -t ALL -p ; done
rsync -aPv --progress --stats * apt.progress-linux.org::upload && rm -rf *
EOF
;;
@@ -345,6 +358,7 @@ cat > "${CHROOT}/build/.bash_history" << EOF
cd */ && sudo apt-get build-dep -y . && dpkg-buildpackage -B && cd .. && rm -rf */
sudo apt-get install -y -t ${DERIVATIVE_DISTRIBUTION}-backports debhelper
clear && pbuild.sh -a -o -n -u -b binary-arch -d ${DERIVATIVE_DISTRIBUTION}-backports -p
+for i in source binary-arch binary-indep; do pbuild.sh -a -o -n -u -b \$i -d ${DERIVATIVE_DISTRIBUTION}-backports -t ALL -p ; done
rsync -aPv --progress --stats * apt.progress-linux.org::upload && rm -rf *
EOF
;;
@@ -359,6 +373,7 @@ cat > "${CHROOT}/build/.bash_history" << EOF
cd */ && sudo apt-get build-dep -y . && dpkg-buildpackage -A && cd .. && rm -rf */
sudo apt-get install -y -t ${DERIVATIVE_DISTRIBUTION}-backports debhelper
clear && pbuild.sh -a -o -n -u -b binary-indep -d ${DERIVATIVE_DISTRIBUTION} -p
+for i in source binary-arch binary-indep; do pbuild.sh -a -o -n -u -b \$i -d ${DERIVATIVE_DISTRIBUTION}-backports -t ALL -p ; done
rsync -aPv --progress --stats * apt.progress-linux.org::upload && rm -rf *
EOF
;;
@@ -368,6 +383,7 @@ cat > "${CHROOT}/build/.bash_history" << EOF
cd */ && sudo apt-get build-dep -y . && dpkg-buildpackage -A && cd .. && rm -rf */
sudo apt-get install -y -t ${DERIVATIVE_DISTRIBUTION}-backports debhelper
clear && pbuild.sh -a -o -n -u -b binary-indep -d ${DERIVATIVE_DISTRIBUTION}-backports -p
+for i in source binary-arch binary-indep; do pbuild.sh -a -o -n -u -b \$i -d ${DERIVATIVE_DISTRIBUTION}-backports -t ALL -p ; done
rsync -aPv --progress --stats * apt.progress-linux.org::upload && rm -rf *
EOF
;;
@@ -381,6 +397,7 @@ cat > "${CHROOT}/build/.bash_history" << EOF
cd */ && sudo apt-get build-dep -y . && dpkg-buildpackage -A && cd .. && rm -rf */
sudo apt-get install -y -t ${DERIVATIVE_DISTRIBUTION}-backports debhelper
clear && pbuild.sh -o -u -b source -d ${DERIVATIVE_DISTRIBUTION} -p
+for i in source binary-arch binary-indep; do pbuild.sh -a -o -n -u -b \$i -d ${DERIVATIVE_DISTRIBUTION}-backports -t ALL -p ; done
rsync -aPv --progress --stats * apt.progress-linux.org::upload && rm -rf *
EOF
;;
@@ -389,6 +406,7 @@ cat > "${CHROOT}/build/.bash_history" << EOF
cd */ && sudo apt-get build-dep -y . && dpkg-buildpackage -A && cd .. && rm -rf */
sudo apt-get install -y -t ${DERIVATIVE_DISTRIBUTION}-backports debhelper
clear && pbuild.sh -o -u -b source -d ${DERIVATIVE_DISTRIBUTION}-backports -p
+for i in source binary-arch binary-indep; do pbuild.sh -a -o -n -u -b \$i -d ${DERIVATIVE_DISTRIBUTION}-backports -t ALL -p ; done
rsync -aPv --progress --stats * apt.progress-linux.org::upload && rm -rf *
EOF
;;