diff options
author | Dongxiao Xu <dongxiao.xu@intel.com> | 2012-02-23 21:49:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-24 18:09:20 +0000 |
commit | 21ddc964ced18d4f1058c003f46acc2c7f1f1fe3 (patch) | |
tree | 903d0304490ad2b5d9dbdbf8612b4f0cc7bbabc7 /scripts/hob | |
parent | f496389aa8ca3fdcb51afe018615003956712cb4 (diff) | |
download | poky-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-x | scripts/hob | 30 |
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 |
2 | if ! (test -r "$BUILDDIR/conf/hob-pre.conf"); then | 2 | bitbake -u hob |
3 | cat <<EOM | ||
4 | You had no conf/hob-pre.conf file. An initial version of this configuration | ||
5 | file has therefore been created for you. This file will be used to store | ||
6 | configuration values you set in hob. | ||
7 | |||
8 | EOM | ||
9 | touch conf/hob-pre.conf | ||
10 | fi | ||
11 | |||
12 | if ! (test -r "$BUILDDIR/conf/hob-post.conf"); then | ||
13 | cat <<EOM | ||
14 | You had no conf/hob-post.conf file. An initial version of this configuration | ||
15 | file has therefore been created for you. This file will be used to store | ||
16 | configuration values you set in hob. | ||
17 | |||
18 | EOM | ||
19 | (cat <<EOF | ||
20 | INHERIT += "image_types" | ||
21 | EOF | ||
22 | ) > conf/hob-post.conf | ||
23 | fi | ||
24 | |||
25 | # Users don't like to launch GUI's and see a bunch of text whiz by, notify them | ||
26 | if [ ! -e "$BUILDDIR/pseudodone" ]; then | ||
27 | echo "Before we can launch the GUI we need to build some native tools required for running" | ||
28 | fi | ||
29 | |||
30 | bitbake -r conf/hob-pre.conf -R conf/hob-post.conf -u hob | ||
31 | 3 | ||
32 | ret=$? | 4 | ret=$? |
33 | exit $ret | 5 | exit $ret |