]> git.openpandora.org Git - openpandora.oe.git/commitdiff
op_osupgrade: give some advice on errors
authorGrazvydas Ignotas <notasas@gmail.com>
Sun, 12 Oct 2014 18:31:52 +0000 (21:31 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 12 Oct 2014 18:31:52 +0000 (21:31 +0300)
somehow I thought I've added this message long ago..

recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_osupgrade.sh

index bd0db8360e53d3d094fab5ab24de862e66fa66c3..75ec85619a189f3b756e1cd133ab5aa5c8818812 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "bash sed gawk grep zenity"
 
-PR = "r161"
+PR = "r162"
 
 SRC_URI = " \
           file://op_bright.sh \
index 186515b43336141c5f45dcf0f566ed72efaf470c..9968fe9d5c0bba92081785cbd59a8dba3a7abfa8 100644 (file)
@@ -46,7 +46,7 @@ kernelmd5_new=`md5sum $kernel_path`
 if test -e /tmp/upgrade_ok; then
   rm -f /tmp/upgrade_ok
   zenity --info --title="Upgrade complete" \
-    --text "All operations have been finished.\n\nYou can find a logfile at /tmp/upgrade.log"
+    --text "All operations have been finished.\n\nYou can find a log file at /tmp/upgrade.log"
   if [ "$kernelmd5_old" != "$kernelmd5_new" ]; then
     zenity --question --title="Kernel updated" \
       --text "The kernel has been updated,\nreboot is needed to start it.\n\nReboot now?" \
@@ -55,5 +55,9 @@ if test -e /tmp/upgrade_ok; then
   fi
 else
   zenity --error --title="Errors detected" \
-    --text "Errors detected during update.\n\nYou can find a logfile at /tmp/upgrade.log"
+    --text "Errors detected during update. Please check your Internet connection and try again.
+
+If long update process was interrupted, it is recommended to run the update again before a reboot.
+
+You can find a log file at /tmp/upgrade.log"
 fi