From 68331cf465e085b4bf2909c67a35d1137deda6d7 Mon Sep 17 00:00:00 2001 From: Grazvydas Ignotas Date: Fri, 18 Oct 2013 02:04:41 +0300 Subject: [PATCH] op_osupgrade: show finish message this should close by itself, but sometimes it hangs, SIGPIPE misdelivered? At least show a message for that case. --- recipes/pandora-system/pandora-scripts.bb | 2 +- recipes/pandora-system/pandora-scripts/op_osupgrade.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index c410dda..83f54f1 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" RDEPENDS = "bash sed gawk grep zenity" -PR = "r148" +PR = "r149" SRC_URI = " \ file://op_paths.sh \ diff --git a/recipes/pandora-system/pandora-scripts/op_osupgrade.sh b/recipes/pandora-system/pandora-scripts/op_osupgrade.sh index 197433e..186515b 100644 --- a/recipes/pandora-system/pandora-scripts/op_osupgrade.sh +++ b/recipes/pandora-system/pandora-scripts/op_osupgrade.sh @@ -34,7 +34,9 @@ terminal -x bash -c \ echo "Checking for updated packages..."; \ opkg upgrade 2>&1; \ touch /tmp/upgrade_ok; \ - sync ) | tee /tmp/upgrade.log; \ + sync; \ + echo "Finished, press Ctrl-C to exit" ) \ + | tee /tmp/upgrade.log; \ test -e /tmp/upgrade_ok || sleep 3' sync -- 2.39.2