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>
This commit is contained in:
Dongxiao Xu 2012-02-23 21:49:13 +08:00 committed by Richard Purdie
parent f496389aa8
commit 21ddc964ce
1 changed files with 1 additions and 29 deletions

View File

@ -1,33 +1,5 @@
#!/usr/bin/env bash
if ! (test -r "$BUILDDIR/conf/hob-pre.conf"); then
cat <<EOM
You had no conf/hob-pre.conf file. An initial version of this configuration
file has therefore been created for you. This file will be used to store
configuration values you set in hob.
EOM
touch conf/hob-pre.conf
fi
if ! (test -r "$BUILDDIR/conf/hob-post.conf"); then
cat <<EOM
You had no conf/hob-post.conf file. An initial version of this configuration
file has therefore been created for you. This file will be used to store
configuration values you set in hob.
EOM
(cat <<EOF
INHERIT += "image_types"
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
bitbake -u hob
ret=$?
exit $ret