Skip to content
Permalink
Browse files

Unmount loop0 before use

  • Loading branch information...
jczacharia committed Sep 15, 2018
1 parent e561cbd commit 742f7fd9de0aca9936e8368c14c433851981a528
Showing with 1 addition and 0 deletions.
  1. +1 −0 utils/prepare-sysroot-full.sh
@@ -7,6 +7,7 @@ mkdir -p raspbian ; cd raspbian

# Mount and extract the raspbian sysroot
message 'Creating sysroot'
sudo umount /dev/loop0
sudo losetup -P /dev/loop0 ${RASPBIAN_BASENAME}.img
sudo mkdir /mnt/raspbian
sudo mount /dev/loop0p2 /mnt/raspbian

0 comments on commit 742f7fd

Please sign in to comment.
You can’t perform that action at this time.