All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] sysvinit/rc: show text progress
@ 2020-12-22  7:00 Trevor Woerner
  2020-12-23 23:27 ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 6+ messages in thread
From: Trevor Woerner @ 2020-12-22  7:00 UTC (permalink / raw)
  To: openembedded-core

In addition to the progress bar, show which startup routine is running by
using the "MSG" facility of psplash.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 meta/recipes-core/sysvinit/sysvinit/rc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-core/sysvinit/sysvinit/rc b/meta/recipes-core/sysvinit/sysvinit/rc
index d0d3149821..6995930ee9 100755
--- a/meta/recipes-core/sysvinit/sysvinit/rc
+++ b/meta/recipes-core/sysvinit/sysvinit/rc
@@ -27,6 +27,7 @@ startup_progress() {
     fi
     #echo "PROGRESS is $progress $runlevel $first_step + ($step of $num_steps) $step_change $progress_size"
     if type psplash-write >/dev/null 2>&1; then
+        PSPLASH_FIFO_DIR=/mnt/.psplash psplash-write "MSG $(basename $1 .sh | cut -c 4-)" || true
         PSPLASH_FIFO_DIR=/mnt/.psplash psplash-write "PROGRESS $progress" || true
     fi
 }
@@ -53,7 +54,7 @@ startup() {
 		"$@"
 		;;
   esac
-  startup_progress
+  startup_progress "$1"
 }
 
   # Ignore CTRL-C only in this shell, so we can interrupt subprocesses.
-- 
2.30.0.rc0


^ permalink raw reply related	[flat|nested] 6+ messages in thread
[parent not found: <1652F7C39C28176B.11411@lists.openembedded.org>]

end of thread, other threads:[~2020-12-24 19:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-22  7:00 [PATCH 1/2] sysvinit/rc: show text progress Trevor Woerner
2020-12-23 23:27 ` [OE-core] " Khem Raj
2020-12-24  2:42   ` Trevor Woerner
2020-12-24 13:38   ` Trevor Woerner
2020-12-24 19:39     ` Khem Raj
     [not found] <1652F7C39C28176B.11411@lists.openembedded.org>
2020-12-22  7:04 ` Trevor Woerner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.