From: Gary Thomas <gary@mlbassoc.com>
To: Yocto Project <yocto@yoctoproject.org>
Subject: Can't build any images
Date: Tue, 29 Oct 2013 09:08:01 -0600 [thread overview]
Message-ID: <526FCF51.1000701@mlbassoc.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1452 bytes --]
Since this commit:
commit 8b42409dca729b7abbbdac04f533e161de86a3ef
Author: Paul Eggleton <paul.eggleton@linux.intel.com>
Date: Fri Oct 18 15:19:58 2013 +0100
scripts/oe-pkgdata-util: improve help text and command line parsing
* Use optparse to parse command line
* Make help text actually helpful by describing what each command does
* Drop comment at the top listing the commands which is now superfluous
(From OE-Core rev: feb317513fff638ad7abdba8ab34b8413f0ab055)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
I get these errors for any image I try to create:
| Traceback (most recent call last):
| File "/local/poky-cutting-edge/scripts/oe-pkgdata-util", line 334, in <module>
| main()
| File "/local/poky-cutting-edge/scripts/oe-pkgdata-util", line 319, in main
| glob(args[1:], parser.print_help)
| File "/local/poky-cutting-edge/scripts/oe-pkgdata-util", line 143, in glob
| if debug:
| NameError: global name 'debug' is not defined
The attached patch fixes the problem, but I'm not sure if it is 100% correct.
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
[-- Attachment #2: oe.patch --]
[-- Type: text/x-patch, Size: 511 bytes --]
diff --git a/scripts/oe-pkgdata-util b/scripts/oe-pkgdata-util
index 80cacc5..14e81aa 100755
--- a/scripts/oe-pkgdata-util
+++ b/scripts/oe-pkgdata-util
@@ -283,8 +283,10 @@ def find_path(args, usage):
if fnmatch.fnmatchcase(fullpth, targetpath):
print("%s: %s" % (fn, fullpth))
+debug = False
def main():
+ global debug
parser = optparse.OptionParser(
usage = '''%prog [options] <command> <arguments>
next reply other threads:[~2013-10-29 15:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-29 15:08 Gary Thomas [this message]
2013-10-29 15:15 ` Can't build any images Paul Eggleton
2013-10-29 15:32 ` Gary Thomas
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=526FCF51.1000701@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@yoctoproject.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.