Comment 3 for bug 660196

Revision history for this message
John Stultz (jstultz) wrote : Re: linaro-media-create failes "umount: <dir>/binary/proc: not found"

Bah. Apologies.

So it ends up the stray unmount error message that shows up right as the script completes threw me off. Even though the error message shows up, the image is created and can almost boot (hits the qemu nand bug, but that's a separate issue).

I had confused this earlier when I had forgotten to copy over the linaro-hwpack-install script to my ~/bin/ and the script error-ed out without creating a proper image, but again printing the umount error message. After installing the linaro-hwpack-install script, I saw the message again and assumed it failed in the same way.

Maybe just to avoid confusion the line could be changed to:
   trap "sudo umount ${chroot}/proc &> /dev/null || true" EXIT

?