Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: package installed_size field
Date: Fri, 23 Apr 2010 17:37:46 +0200	[thread overview]
Message-ID: <hqsesa$bc4$1@dough.gmane.org> (raw)
In-Reply-To: <4BD1B1AD.9050505@road.de>

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




      reply	other threads:[~2010-04-23 15:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-23 14:41 package installed_size field Jens Erdmann
2010-04-23 15:37 ` Koen Kooi [this message]

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='hqsesa$bc4$1@dough.gmane.org' \
    --to=k.kooi@student.utwente.nl \
    --cc=openembedded-devel@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