]> code.ossystems Code Review - openembedded-core.git/commitdiff
scripts/hob: notify the user when the GUI won't launch immediately
authorJoshua Lock <josh@linux.intel.com>
Fri, 2 Sep 2011 21:47:18 +0000 (14:47 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 5 Sep 2011 19:28:20 +0000 (20:28 +0100)
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

index bb88a7613565c55007674510eb9e760ba52e8887..480413b63e15f8f2e189bca570918e148f82709c 100755 (executable)
@@ -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=$?