summaryrefslogtreecommitdiffstats
path: root/scripts/hob
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2012-02-23 21:49:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-24 18:09:20 +0000
commit21ddc964ced18d4f1058c003f46acc2c7f1f1fe3 (patch)
tree903d0304490ad2b5d9dbdbf8612b4f0cc7bbabc7 /scripts/hob
parentf496389aa8ca3fdcb51afe018615003956712cb4 (diff)
downloadpoky-21ddc964ced18d4f1058c003f46acc2c7f1f1fe3.tar.gz
scripts/hob: Launch the new hob
Change the scripts to launch the new Hob. (From OE-Core rev: 22194a04f224864dd687660e351a3a10da1f06fa) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/hob')
-rwxr-xr-xscripts/hob30
1 files changed, 1 insertions, 29 deletions
diff --git a/scripts/hob b/scripts/hob
index 480413b63e..ee80cb3701 100755
--- a/scripts/hob
+++ b/scripts/hob
@@ -1,33 +1,5 @@
1#!/usr/bin/env bash 1#!/usr/bin/env bash
2if ! (test -r "$BUILDDIR/conf/hob-pre.conf"); then 2bitbake -u hob
3 cat <<EOM
4You had no conf/hob-pre.conf file. An initial version of this configuration
5file has therefore been created for you. This file will be used to store
6configuration values you set in hob.
7
8EOM
9touch conf/hob-pre.conf
10fi
11
12if ! (test -r "$BUILDDIR/conf/hob-post.conf"); then
13 cat <<EOM
14You had no conf/hob-post.conf file. An initial version of this configuration
15file has therefore been created for you. This file will be used to store
16configuration values you set in hob.
17
18EOM
19(cat <<EOF
20INHERIT += "image_types"
21EOF
22) > conf/hob-post.conf
23fi
24
25# Users don't like to launch GUI's and see a bunch of text whiz by, notify them
26if [ ! -e "$BUILDDIR/pseudodone" ]; then
27 echo "Before we can launch the GUI we need to build some native tools required for running"
28fi
29
30bitbake -r conf/hob-pre.conf -R conf/hob-post.conf -u hob
31 3
32ret=$? 4ret=$?
33exit $ret 5exit $ret