diff options
-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 |