[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: OLPC & package dependency growth



On Wed, Jul 09, 2008 at 11:44:23AM -0400, seth vidal wrote:
> On Wed, 2008-07-09 at 16:10 +0100, Daniel P. Berrange wrote:
> > We could sure use some scripts to anaylse RPM deps on a nightly basis
> > and produces reports on interesting stats. eg disk footprint of the
> > chain starting from package 'X', or list of dependancies from package
> > 'X', or perhaps something that given a kickstart file can report
> > the total size of the package set listed in the kickstart without
> > actually going through the full livecd (or equiv) build process. We
> > are fighting a similar battle to OLPC with the oVirt project which
> > has a live CD we're trying to keep under 64 MB in size.
> 
> Taking a list of pkgs, resolving out all of their deps then calculating
> installed size (not calculating vs an existing install, but raw
> installed size) shouldn't take too much code at all. I'll see what I can
> hack up today.

Extra points if you round up the sizes to 4k to take account of the 
typical ext3 blocksize which adds extra storage overhead for small
files. Rolling nigh-to-night, or week-to-week diffs of size growth
or shrinkage would be fun too

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]