Openembedded Core Discussions
 help / color / mirror / Atom feed
* image_types.bbclass: what's with "elf" and "cpio.gz"?
@ 2013-01-12 11:22 Robert P. J. Day
  2013-01-12 13:05 ` Richard Purdie
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2013-01-12 11:22 UTC (permalink / raw)
  To: OE Core mailing list


  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
========================================================================



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-01-13 12:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-12 11:22 image_types.bbclass: what's with "elf" and "cpio.gz"? Robert P. J. Day
2013-01-12 13:05 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox