projects
/
mirror
/
dsa-puppet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47e806d
)
Revert "setup-dchroot: create /srv/chroot"
author
Héctor Orón Martínez
<zumbi@debian.org>
Mon, 30 Jan 2017 10:55:57 +0000
(11:55 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Mon, 30 Jan 2017 10:57:52 +0000
(11:57 +0100)
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
patch
|
blob
|
history
diff --git
a/modules/schroot/files/setup-dchroot
b/modules/schroot/files/setup-dchroot
index
d6275b5
..
c1350cd
100755
(executable)
--- 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"