* package installed_size field
@ 2010-04-23 14:41 Jens Erdmann
2010-04-23 15:37 ` Koen Kooi
0 siblings, 1 reply; 2+ messages in thread
From: Jens Erdmann @ 2010-04-23 14:41 UTC (permalink / raw)
To: openembedded-devel
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?
--
------- ROAD ...the handyPC Company - - - ) ) )
Jens Erdmann
Software Development
ROAD GmbH
Bennigsenstr. 14 | 12159 Berlin | Germany
fon: +49 (30) 230069 - 64 | fax: +49 (30) 230069 - 69
url: www.road.de
Amtsgericht Charlottenburg: HRB 96688 B
Managing director: Hans-Peter Constien
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: package installed_size field
2010-04-23 14:41 package installed_size field Jens Erdmann
@ 2010-04-23 15:37 ` Koen Kooi
0 siblings, 0 replies; 2+ messages in thread
From: Koen Kooi @ 2010-04-23 15:37 UTC (permalink / raw)
To: openembedded-devel
-----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-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-23 15:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-23 14:41 package installed_size field Jens Erdmann
2010-04-23 15:37 ` Koen Kooi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.