From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from astoria.ccjclearline.com ([64.235.106.9]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1TtzPQ-0001Wf-5f for openembedded-core@lists.openembedded.org; Sat, 12 Jan 2013 12:37:58 +0100 Received: from cpec03f0ed08c7f-cm001ac318e826.cpe.net.cable.rogers.com ([174.115.5.73]:36180 helo=crashcourse.ca) by astoria.ccjclearline.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from ) id 1TtzAe-0007Zr-3Y for openembedded-core@lists.openembedded.org; Sat, 12 Jan 2013 06:22:40 -0500 Date: Sat, 12 Jan 2013 06:22:33 -0500 (EST) From: "Robert P. J. Day" X-X-Sender: rpjday@oneiric To: OE Core mailing list Message-ID: User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - astoria.ccjclearline.com X-AntiAbuse: Original Domain - lists.openembedded.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - crashcourse.ca X-Source: X-Source-Args: X-Source-Dir: Subject: image_types.bbclass: what's with "elf" and "cpio.gz"? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jan 2013 11:37:59 -0000 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 ========================================================================