[Live-demo] Re: [OSGeo] #543: Reduce the footprint of the image

OSGeo trac_osgeo at osgeo.org
Sun Mar 14 00:11:35 PST 2010


#543: Reduce the footprint of the image
----------------------------+-----------------------------------------------
  Reporter:  wildintellect  |       Owner:  live-demo at lists.osgeo.org
      Type:  enhancement    |      Status:  new                      
  Priority:  normal         |   Component:  LiveDVD                  
Resolution:                 |    Keywords:  4.0                      
----------------------------+-----------------------------------------------
Comment (by hamish):

 see #467 and the `dpkg --get-selections` manifest in the build logs dir.
 there is lots of low hanging fruit.

 I'll work on a script to rank installed .deb packages by installed-size,
 beyond what is now in the top 50 biggest list already found in the main
 build_log report. but maybe it is better to rank them by compressed size?
 That list doesn't cover test data, downloaded java packages, etc., though.
 `df -sh /usr/local/share/*`

 fyi the main log `df` based size ranking is a rather poor indicator as it
 includes /tmp/ and eg the first of qgis or grass to install will get hit
 with the bill for many common deps. It is more useful to quickly see if
 something went wrong.

 try this:
 {{{
 echo 'du -s $1/* | sort -rn | head -10' > ~/bin/hog
 chmod u+x ~/bin/hog

 hog /usr/local/share/
 }}}


 Hamish

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/543#comment:1>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Osgeolive mailing list