[Live-demo] [OSGeo] #460: Compressing the vmdk

OSGeo trac_osgeo at osgeo.org
Wed Sep 23 19:10:54 PDT 2009


#460: Compressing the vmdk
--------------------------+-------------------------------------------------
Reporter:  wildintellect  |       Owner:  live-demo at lists.osgeo.org
    Type:  task           |      Status:  new                      
Priority:  major          |   Component:  LiveDVD                  
Keywords:  vmware         |  
--------------------------+-------------------------------------------------
 So when we moved to remastersys for the building the iso we missed the
 part about ln 62 in setdown.sh
 {{{
 cat /dev/zero > zero.fill ; sync ; sleep 1 ; sync ; rm -f zero.fill
 }}}
 This is run to help compress the vmdk image. However the iso generation is
 run after this currently. Which means the vmdk will contain the iso and
 it's tmp files.

 2 options, shutdown, shrink and package the vm before iso generation OR
 run a cleanup after remastersys and the upload of the iso.

 Something like
 {{{
 sudo remsatersys clean
 cat /dev/zero > zero.fill ; sync ; sleep 1 ; sync ; rm -f zero.fill
 #rm tmp, etc
 }}}
 Then shutdown, compress and provide the vm.

-- 
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/460>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Osgeolive mailing list