summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-04-07 00:34:33 +0200
committerHolger Levsen <holger@layer-acht.org>2014-04-07 00:34:33 +0200
commitde979cd737915c09db0107d2b20195ee510207e2 (patch)
tree991aad23a964a8a6e7a5dade318ef2388451c123 /bin
parent06a65cda56351891c4e9813df8496cd4182e6afd (diff)
downloadjenkins.debian.net-de979cd737915c09db0107d2b20195ee510207e2.tar.xz
copy files inside chroot instead of bind mounting them, so that deleting them later works
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chroot-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chroot-run.sh b/bin/chroot-run.sh
index 3103bc23..4193a5ca 100755
--- a/bin/chroot-run.sh
+++ b/bin/chroot-run.sh
@@ -81,7 +81,7 @@ trap cleanup INT TERM EXIT
run() {
sudo chroot $CHROOT_TARGET mkdir /testrun
- sudo mount --bind $CURDIR $CHROOT_TARGET/testrun
+ cp -r $CURDIR $CHROOT_TARGET/testrun
cat > $CHROOT_TARGET/tmp/chroot-testrun <<-EOF
$SCRIPT_HEADER
cd /testrun