From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: Martin Jansa <martin.jansa@gmail.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCHv2] buildhistory: Record size of installed package not compressed archive
Date: Mon, 08 Jul 2013 16:47:57 +0100 [thread overview]
Message-ID: <5517861.pGMakEMcrE@helios> (raw)
In-Reply-To: <1373105044-30014-1-git-send-email-Martin.Jansa@gmail.com>
On Saturday 06 July 2013 12:04:04 Martin Jansa wrote:
> * usually it's more important to know how much space will each
> package take on target device then size of compressed package
> * example for libewebkit0 with 4 different architectures, interesting
> that om_gta02 .ipk is bigger but it's smaller when installed
>
> before:
> MACHINE DEFAULTTUNE SIZE (.ipk file)
> om_gta04 cortexa8t-neon 15996 KiB libewebkit0
> qemux86_64 x86-64 16992 KiB libewebkit0
> spitz xscale 16148 KiB libewebkit0
> om_gta02 arm920t 16260 KiB libewebkit0
>
> after:
> MACHINE DEFAULTTUNE SIZE (installed)
> om_gta04 cortexa8t-neon 60544 KiB libewebkit0
> qemux86_64 x86-64 63720 KiB libewebkit0
> spitz xscale 60588 KiB libewebkit0
> om_gta02 arm920t 56268 KiB libewebkit0
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> meta/classes/buildhistory.bbclass | 11 ++++----
> scripts/oe-pkgdata-util | 59
> ++++++++++++++++++++++++++++++++++++--- 2 files changed, 61 insertions(+),
> 9 deletions(-)
>
> diff --git a/meta/classes/buildhistory.bbclass
> b/meta/classes/buildhistory.bbclass index 36e7fe1..1ebe68e 100644
> --- a/meta/classes/buildhistory.bbclass
> +++ b/meta/classes/buildhistory.bbclass
> @@ -317,6 +317,8 @@ buildhistory_get_installed() {
> # Get list of installed packages
> pkgcache="$1/installed-packages.tmp"
> list_installed_packages file | sort > $pkgcache
> + pkgcachearch="$1/installed-packages-arch.tmp"
> + list_installed_packages arch | sort > $pkgcachearch
If possible I would prefer to avoid having to query the installed package list
twice; I know that would mean changing every backend. I can look at this if
you're short on time.
Cheers,
Paul
--
Paul Eggleton
Intel Open Source Technology Centre
next prev parent reply other threads:[~2013-07-08 15:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-30 1:36 [RFC] buildhistory: Record size of installed package not compressed archive Martin Jansa
2013-07-01 16:53 ` Otavio Salvador
2013-07-04 6:53 ` Saul Wold
2013-07-04 8:30 ` Martin Jansa
2013-07-06 10:04 ` [PATCHv2] " Martin Jansa
2013-07-08 15:47 ` Paul Eggleton [this message]
2013-07-08 16:40 ` Martin Jansa
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=5517861.pGMakEMcrE@helios \
--to=paul.eggleton@linux.intel.com \
--cc=martin.jansa@gmail.com \
--cc=openembedded-core@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