All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Lock <josh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] scripts/hob: notify the user when the GUI won't launch immediately
Date: Fri,  2 Sep 2011 17:19:18 -0700	[thread overview]
Message-ID: <174de23258fce7cbf17b12d75ca6bc300206c12e.1315008793.git.josh@linux.intel.com> (raw)
In-Reply-To: <cover.1315008793.git.josh@linux.intel.com>
In-Reply-To: <cover.1315008793.git.josh@linux.intel.com>

If the wrapper script needs to build pseudo before we can launch hob we need
to notify the user so they aren't shocked by the action of launching a GUI
and seeing a bunch of text whiz by on the console.

Fixes [YOCTO #1435]

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 scripts/hob |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/scripts/hob b/scripts/hob
index bb88a76..480413b 100755
--- a/scripts/hob
+++ b/scripts/hob
@@ -22,6 +22,11 @@ EOF
 ) > conf/hob-post.conf
 fi
 
+# Users don't like to launch GUI's and see a bunch of text whiz by, notify them
+if [ ! -e "$BUILDDIR/pseudodone" ]; then
+    echo "Before we can launch the GUI we need to build some native tools required for running"
+fi
+
 bitbake -r conf/hob-pre.conf -R conf/hob-post.conf -u hob
 
 ret=$?
-- 
1.7.6




  parent reply	other threads:[~2011-09-03  0:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-03  0:19 [PATCH 0/2] Patches for hob wrapper script Joshua Lock
2011-09-03  0:19 ` [PATCH 1/2] scripts/hob: update to match recent hob changes Joshua Lock
2011-09-03  0:19 ` Joshua Lock [this message]
2011-09-05 19:28 ` [PATCH 0/2] Patches for hob wrapper script Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=174de23258fce7cbf17b12d75ca6bc300206c12e.1315008793.git.josh@linux.intel.com \
    --to=josh@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.