From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: OE Core mailing list <openembedded-core@lists.openembedded.org>
Subject: image_types.bbclass: what's with "elf" and "cpio.gz"?
Date: Sat, 12 Jan 2013 06:22:33 -0500 (EST) [thread overview]
Message-ID: <alpine.DEB.2.02.1301120618220.15410@oneiric> (raw)
this snippet from image_types.bbclass:
if "elf" in alltypes:
alltypes.remove("elf")
if "cpio.gz" not in alltypes:
alltypes.append("cpio.gz")
alltypes.append("elf")
# Filter out all the compressed images from types
for type in alltypes:
... snip ...
i was going to trivially fix that comment (it's now "alltypes", not
"types"), but i was distracted by the code above that -- what the heck
is going on there? what's the rationale for removing elf, then adding
cpio.gz and elf back on at the end? if someone can clarify that, i
can add that as more comment, as well as a few other tweaks in that
file for more documentation for anyone reading TFS. thanks.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
next reply other threads:[~2013-01-12 11:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-12 11:22 Robert P. J. Day [this message]
2013-01-12 13:05 ` image_types.bbclass: what's with "elf" and "cpio.gz"? Richard Purdie
2013-01-12 19:15 ` Chris Larson
2013-01-13 10:14 ` Robert P. J. Day
2013-01-13 12:32 ` 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=alpine.DEB.2.02.1301120618220.15410@oneiric \
--to=rpjday@crashcourse.ca \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox