summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRobert Bays <rbays@cartagena.vyatta.com>2008-11-03 14:39:43 -0500
committerRobert Bays <rbays@cartagena.vyatta.com>2008-11-03 14:39:43 -0500
commitfee80e618f4d96078811eaf1efb5d0ae27df433a (patch)
treeb968dcfa9c4e0d7743b1a7c260be4b07820f91ea /scripts
parent81bd193daacbf4b1f3ee74fe940151ac90174870 (diff)
downloadvyatta-cfg-system-fee80e618f4d96078811eaf1efb5d0ae27df433a.tar.gz
vyatta-cfg-system-fee80e618f4d96078811eaf1efb5d0ae27df433a.zip
bug 1587: add error message when user tries native install from non-union media
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/install-system4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/install-system b/scripts/install-system
index e4464ede..3ed14af2 100755
--- a/scripts/install-system
+++ b/scripts/install-system
@@ -735,7 +735,9 @@ install_root_filesystem () {
output=$(mount /live/image/boot/$version/$version.squashfs /mnt/squashfs -t squashfs -o loop)
status=$?
else
- echo -e "Error: Unable to find a squash image. \nExiting..."
+ echo -e "Error: Unable to find a squash image. To install natively\nthe install media must be a livecd or a union install.\nExiting...\n\n"
+ echo -e "Error: Unable to find a squash image. To install natively\nthe install media must be a livecd or a union install.\nExiting...\n\n" >> $INSTALL_LOG
+ exit 1
fi
if [ "$status" != 0 ]; then