Reducing chroot count to 4 -- using aliases
Moin!
Using [0] I'm able to run buildd with 4 chroots (as in
/etc/schroot/chroot.d entries). The resulting file looks like [1] for
everything from squeeze to jessie -- adding jessie-backports or
wheezy-backports-sloppy for example only go to .builddrc now.
I also need some of this stuff to have working backports-sloppy at all
on kfreebsd. This setup is currently running on fano.
Please, tell me if this can work for you and what you think!
Christoph
[0]
--- 99builddsourceslist~ 2013-08-15 10:13:20.000000000 +0000
+++ 99builddsourceslist 2013-08-15 10:12:56.000000000 +0000
@@ -27,7 +27,7 @@
. "$SETUP_DATA_DIR/common-config"
if [ "$CHROOT_SESSION_PURGE" = "true" ]; then
- case $CHROOT_NAME in
+ case $CHROOT_ALIAS in
*-*-*-*-sbuild*)
SUITE_BASE=$(echo $CHROOT_NAME | cut -f1 -d-)
SUITE_VARIANT=$(echo $CHROOT_NAME | cut -f2,3 -d-)
[1]
[wheezy-ka-sbuild]
description=Debian wheezy buildd chroot
aliases=wheezy-kfreebsd-amd64-sbuild,wheezy-backports-kfreebsd-amd64-sbuild,wheezy-backports-sloppy-kfreebsd-amd64-sbuild,wheezy-security-kfreebsd-amd64-sbuild
type=file
file=/home/buildd/chroots/wheezy.tar.gz
users=buildd
root-users=buildd
source-users=buildd
source-root-users=buildd
profile=buildd
Reply to: