Commit 6bb841a7 authored by Jelmer Vernooij's avatar Jelmer Vernooij Committed by Holger Levsen
Browse files

Update the janitor schroot.



Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent 99bdf68c
...@@ -33,7 +33,8 @@ DISTRO=unstable ...@@ -33,7 +33,8 @@ DISTRO=unstable
mkdir -p $TARGET/chroots mkdir -p $TARGET/chroots
if [ -d $TARGET/chroots/janitor-$DISTRO-$ARCH ] ; then if [ -d $TARGET/chroots/janitor-$DISTRO-$ARCH ] ; then
echo "chroot for $DISTRO/$ARCH exists, good." echo "updating existing chroot for $DISTRO/$ARCH."
sudo sbuild-update -udcar unstable-amd64-sbuild
else else
echo "preparing chroot for $DISTRO/$ARCH." echo "preparing chroot for $DISTRO/$ARCH."
sudo sbuild-createchroot $DISTRO $TARGET/chroots/janitor-$DISTRO-$ARCH http://deb.debian.org/debian sudo sbuild-createchroot $DISTRO $TARGET/chroots/janitor-$DISTRO-$ARCH http://deb.debian.org/debian
......
...@@ -2,6 +2,7 @@ jenkins ALL= \ ...@@ -2,6 +2,7 @@ jenkins ALL= \
NOPASSWD: /usr/sbin/debootstrap *, \ NOPASSWD: /usr/sbin/debootstrap *, \
/usr/bin/mmdebstrap *, \ /usr/bin/mmdebstrap *, \
/usr/bin/sbuild-createchroot *, \ /usr/bin/sbuild-createchroot *, \
/usr/bin/sbuild-update *, \
/bin/systemctl reset-failed, \ /bin/systemctl reset-failed, \
/usr/bin/tee /schroots/*, \ /usr/bin/tee /schroots/*, \
/usr/bin/tee -a /schroots/*, \ /usr/bin/tee -a /schroots/*, \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment