From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lo.gmane.org ([80.91.229.12]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1O5L0b-00041L-Eu for openembedded-devel@lists.openembedded.org; Fri, 23 Apr 2010 17:41:38 +0200 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1O5Kx2-0000ra-FJ for openembedded-devel@lists.openembedded.org; Fri, 23 Apr 2010 17:37:56 +0200 Received: from s55917625.adsl.wanadoo.nl ([85.145.118.37]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Apr 2010 17:37:56 +0200 Received: from k.kooi by s55917625.adsl.wanadoo.nl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 23 Apr 2010 17:37:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: openembedded-devel@lists.openembedded.org connect(): No such file or directory From: Koen Kooi Date: Fri, 23 Apr 2010 17:37:46 +0200 Message-ID: References: <4BD1B1AD.9050505@road.de> Mime-Version: 1.0 X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: s55917625.adsl.wanadoo.nl User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.9) Gecko/20100412 Shredder/3.0.5pre In-Reply-To: <4BD1B1AD.9050505@road.de> X-Enigmail-Version: 1.0.1 X-SA-Exim-Connect-IP: 80.91.229.12 X-SA-Exim-Mail-From: gcho-openembedded-devel@m.gmane.org X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: package installed_size field X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2010 15:41:38 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23-04-10 16:41, Jens Erdmann wrote: > Hi folks, > > I have a question in package creation. In my build process i create ipkg > packages and i don't understand, how the installed_size has to be > detected and where it will be set. My first idea were the > package_ipkg.bbclass but it's missing there. How do you manage this? Historically we don't handle this, because in opkg "installed_size" is not tightly defined, so when installing it on e.g. compressed ubifs the *actual* installed size is usually less than the size on e.g. ext2. The fear was that package managers would refuse to install e.g. a 30MB text file when ubifs reports 29MB free, even if that file would only occupy 3MB of actual space. That's the background, I personally would like to include that (the "uncompressed image size") info in the package, but I am unsure what the implications are of that when using a recent opkg. regards, Koen -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Darwin) iD8DBQFL0b7JMkyGM64RGpERAte3AJ4l7aa8lcrl5GqjNgAYwLJTFLo06ACgnuxZ ivi3OMdwFFDpAzQcPZNH054= =qSJ6 -----END PGP SIGNATURE-----