Opened 15 years ago

Closed 14 years ago

#460 closed task (fixed)

Compressing the vmdk

Reported by: wildintellect Owned by: live-demo@…
Priority: major Milestone:
Component: OSGeoLive Keywords: vmware
Cc:

Description

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.

Change history (1)

comment:1 by wildintellect, 14 years ago

Resolution: fixed
Status: newclosed

Works most of the time, on 3.0 rc3 it failed on 3.0 rc4 it was done before iso building step and worked fine.

Note: See TracTickets for help on using tickets.