From 6b0125678b30fc91ffbe5ff846e0c9ac0dee6824 Mon Sep 17 00:00:00 2001 From: =?utf8?q?H=C3=A9ctor=20Or=C3=B3n=20Mart=C3=ADnez?= Date: Mon, 30 Jan 2017 11:55:57 +0100 Subject: [PATCH] Revert "setup-dchroot: create /srv/chroot" the point of the check is to make sure we have created /srv/chroot on a suitable filesystem, as we don't want the scripts to run if we haven't done all the filesystem setup yet This reverts commit 47e806d785e3195f855584d0739abb0ee2682c27. --- modules/schroot/files/setup-dchroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/schroot/files/setup-dchroot b/modules/schroot/files/setup-dchroot index d6275b55d..c1350cdbf 100755 --- a/modules/schroot/files/setup-dchroot +++ b/modules/schroot/files/setup-dchroot @@ -294,7 +294,7 @@ if [ -z "${builddir:-}" ]; then fi done fi -[ -d "$basedir" ] || mkdir -p "$basedir" +[ -d "$basedir" ] || die "Error: $basedir does not exist (or is not a directory)." [ -d "$builddir" ] || die "Error: $builddir does not exist (or is not a directory)." target="$basedir/$tuple.tar.gz" -- 2.20.1