From: Joshua Lock <josh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 2/2] scripts/hob: wrapper script to run hob gui with a UI specific config file
Date: Tue, 12 Jul 2011 16:24:44 -0700 [thread overview]
Message-ID: <7c53efc0181474570e979b9d924e6a3fe3b50c36.1310511423.git.josh@linux.intel.com> (raw)
In-Reply-To: <cover.1310511423.git.josh@linux.intel.com>
In-Reply-To: <cover.1310511423.git.josh@linux.intel.com>
This ensures any configuration changes made in the GUI are only set when
using hob.
The default hob.local.conf is generated with a line which adds image_types
to INHERITS so that the GUI can introspect the available FSTYPES.
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
scripts/hob | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
create mode 100755 scripts/hob
diff --git a/scripts/hob b/scripts/hob
new file mode 100755
index 0000000..19930ba
--- /dev/null
+++ b/scripts/hob
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+if ! (test -r "$BUILDDIR/conf/hob.local.conf"); then
+ cat <<EOM
+You had no conf/hob.local.conf file. An initial version of this configuration
+file has therefore been created for you. This file will be used to store any
+configuration values you set in hob.
+
+EOM
+(cat <<EOF
+INHERIT += "image_types"
+EOF
+) > conf/hob.local.conf
+fi
+
+bitbake -R conf/hob.local.conf -t xmlrpc -u hob
+
+ret=$?
+exit $ret
--
1.7.6
next prev parent reply other threads:[~2011-07-12 23:28 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-12 23:24 [PATCH 0/2] Hob integration patches Joshua Lock
2011-07-12 23:24 ` [PATCH 1/2] classes/image_types: add a variable to list available IMAGE_FSTYPE's Joshua Lock
2011-07-12 23:38 ` Tom Rini
2011-07-13 0:37 ` Gary Thomas
2011-07-13 0:44 ` Tom Rini
2011-07-13 0:52 ` Gary Thomas
2011-07-13 1:11 ` Tom Rini
2011-07-13 11:24 ` Richard Purdie
2011-07-13 14:10 ` Tom Rini
2011-07-13 19:55 ` Koen Kooi
2011-07-13 2:33 ` Joshua Lock
2011-07-12 23:24 ` Joshua Lock [this message]
2011-07-19 18:29 ` [PATCH 0/2] Hob integration patches Saul Wold
2011-07-19 19:10 ` Joshua Lock
[not found] <cover.1310524498.git.josh@linux.intel.com>
2011-07-13 2:36 ` [PATCH 2/2] scripts/hob: wrapper script to run hob gui with a UI specific config file Joshua Lock
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7c53efc0181474570e979b9d924e6a3fe3b50c36.1310511423.git.josh@linux.intel.com \
--to=josh@linux.intel.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.