From: Joshua Lock <josh@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/2] scripts/hob: update to match recent hob changes
Date: Fri, 2 Sep 2011 17:19:17 -0700 [thread overview]
Message-ID: <b53adc180f983f025811d52bde2d7918385f182a.1315008793.git.josh@linux.intel.com> (raw)
In-Reply-To: <cover.1315008793.git.josh@linux.intel.com>
In-Reply-To: <cover.1315008793.git.josh@linux.intel.com>
hob now uses both a pre and post file, update the wrapper script to generate
and use both of these.
Addresses [YOCTO #1281]
Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
scripts/hob | 20 +++++++++++++++-----
1 files changed, 15 insertions(+), 5 deletions(-)
diff --git a/scripts/hob b/scripts/hob
index 19930ba..bb88a76 100755
--- a/scripts/hob
+++ b/scripts/hob
@@ -1,18 +1,28 @@
#!/usr/bin/env bash
-if ! (test -r "$BUILDDIR/conf/hob.local.conf"); then
+if ! (test -r "$BUILDDIR/conf/hob-pre.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
+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.local.conf
+) > conf/hob-post.conf
fi
-bitbake -R conf/hob.local.conf -t xmlrpc -u hob
+bitbake -r conf/hob-pre.conf -R conf/hob-post.conf -u hob
ret=$?
exit $ret
--
1.7.6
next prev parent reply other threads:[~2011-09-03 0:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-03 0:19 [PATCH 0/2] Patches for hob wrapper script Joshua Lock
2011-09-03 0:19 ` Joshua Lock [this message]
2011-09-03 0:19 ` [PATCH 2/2] scripts/hob: notify the user when the GUI won't launch immediately Joshua Lock
2011-09-05 19:28 ` [PATCH 0/2] Patches for hob wrapper script Richard Purdie
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=b53adc180f983f025811d52bde2d7918385f182a.1315008793.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.