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

Enable eatmydata on the janitor worker.



Signed-off-by: Holger Levsen's avatarHolger Levsen <holger@layer-acht.org>
parent a0a299b1
...@@ -35,7 +35,9 @@ fi ...@@ -35,7 +35,9 @@ fi
make -C $TARGET/debian-janitor/breezy realclean all make -C $TARGET/debian-janitor/breezy realclean all
make -C $TARGET/debian-janitor/dulwich make -C $TARGET/debian-janitor/dulwich
sed -e 's/%r/unstable/' < $TARGET/debian-janitor/sbuildrc > $TARGET/sbuildrc cp $TARGET/debian-janitor/sbuildrc $TARGET/sbuildrc
sed -i "s/\$piuparts_opts = ['--schroot', '%r-%a-sbuild' ];/\$piuparts_opts = ['--schroot', '%r-%a-sbuild', '--no-eatmydata' ];/" $TARGET/sbuildrc
sed -i 's/%r/unstable/' $TARGET/sbuildrc
mkdir -p $TARGET/chroots mkdir -p $TARGET/chroots
...@@ -46,6 +48,7 @@ else ...@@ -46,6 +48,7 @@ else
echo "preparing chroot for $DISTRO/$ARCH." echo "preparing chroot for $DISTRO/$ARCH."
sudo sbuild-createchroot \ sudo sbuild-createchroot \
--extra-repository="deb-src http://deb.debian.org/debian/ $DISTRO main" \ --extra-repository="deb-src http://deb.debian.org/debian/ $DISTRO main" \
--include=eatmydata \
$DISTRO $TARGET/chroots/janitor-$DISTRO-$ARCH http://deb.debian.org/debian $DISTRO $TARGET/chroots/janitor-$DISTRO-$ARCH http://deb.debian.org/debian
fi fi
......
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