From ef91ba2277c05325cf45627699e46436a27ac326 Mon Sep 17 00:00:00 2001 From: ownedcore Date: Wed, 8 Jan 2014 19:31:48 +0100 Subject: [PATCH] Also remove proc, sys and dev from chroot --- build.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/build.sh b/build.sh index c27edad..ab332a7 100644 --- a/build.sh +++ b/build.sh @@ -256,6 +256,12 @@ cp bin2fex $DEST/output/sdcard/usr/bin/ cp nand-part $DEST/output/sdcard/usr/bin/ # cleanup +# unmount proc, sys and dev from chroot +umount $DEST/output/sdcard/dev/pts +umount $DEST/output/sdcard/dev +umount $DEST/output/sdcard/proc +umount $DEST/output/sdcard/sys + rm $DEST/output/sdcard/usr/bin/qemu-arm-static # umount images umount $DEST/output/sdcard/