From: Heiko Z. <smi...@us...> - 2011-12-28 00:36:32
|
Update of /cvsroot/devil-linux/build/scripts/scripts In directory vz-cvs-3.sog:/tmp/cvs-serv21662/scripts/scripts Modified Files: install-on-usb Log Message: resolved bug #109: install-on-usb - report chroot as possible cause of failure (Dominic Raferd / HZ) Index: install-on-usb =================================================================== RCS file: /cvsroot/devil-linux/build/scripts/scripts/install-on-usb,v retrieving revision 1.37 retrieving revision 1.38 diff -u -d -r1.37 -r1.38 --- install-on-usb 18 Dec 2011 21:27:24 -0000 1.37 +++ install-on-usb 28 Dec 2011 00:36:30 -0000 1.38 @@ -289,6 +289,9 @@ IMAGE="bootcd.squash" elif [ "x$IMAGEFS" = "xiso9660" ]; then IMAGE="bootcd.iso" + elif [ -z "$IMAGEFS" ]; then + echo -e "Can't locate mounted image - maybe you are chrooted?" + return 1 else echo "Unsupported image format: $IMAGEFS" return 1 |