Also remove proc, sys and dev from chroot
This commit is contained in:
parent
b90a85b663
commit
ef91ba2277
1 changed files with 6 additions and 0 deletions
6
build.sh
6
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/
|
||||
|
|
Loading…
Add table
Reference in a new issue