From de979cd737915c09db0107d2b20195ee510207e2 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 7 Apr 2014 00:34:33 +0200 Subject: copy files inside chroot instead of bind mounting them, so that deleting them later works --- bin/chroot-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') 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 -- cgit v1.2.3-70-g09d2