diff options
author | Holger Levsen <holger@layer-acht.org> | 2014-04-07 00:34:33 +0200 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2014-04-07 00:34:33 +0200 |
commit | de979cd737915c09db0107d2b20195ee510207e2 (patch) | |
tree | 991aad23a964a8a6e7a5dade318ef2388451c123 /bin | |
parent | 06a65cda56351891c4e9813df8496cd4182e6afd (diff) | |
download | jenkins.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-x | bin/chroot-run.sh | 2 |
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 |