Commits

stacklet  committed 3dadab3 Merge

Merged changes

  • Participants
  • Parent commits 5abf6c9, c7b3fff
  • Tags alpha_release_20090903

Comments (0)

Files changed (7)

File output/gentoo/gentoo.2008-0.x86-64.vmx

 
 ####### ide-disks ##################### 
 ide0:0.present = "TRUE"
-ide0:0.fileName = "gentoo.2008-0.x86.vmdk"
+ide0:0.fileName = "gentoo.2008-0.x86-64.vmdk"
 ide0:0.mode = "persistent"
 ide0:0.startConnected = "TRUE"
 ide0:0.writeThrough = "TRUE"

File specs/distro/ubuntu/properties.xml

 <stk:properties xmlns:stk="http://stacklet.com/v1">
   <stk:property name="_build.assetLoc_" value="assets/ubuntu.9-04.x86"/>
   <stk:property name="_image.imgFile_" value="/var/stacklet/ubuntu.9-04.x86.img"/>
-  <stk:property name="_image.size_" value="1000"/>
+  <stk:property name="_image.size_" value="10000"/>
   <stk:property name="_image.mountPoint_" value="/mnt/loop"/>
   <stk:property name="_image.fsType_" value="ext3"/>
   <stk:property name="_image.format_" value="vbd"/>

File src/stacklet/task/distro/debu.py

                 cmd = 'cp /etc/resolv.conf ' +  buildContext.mountPoint + '/etc/'
                 self.exec_command(buildContext, cmd)
 
-                cmd = 'wget -nv --base=' + self._url + ' -P ' + buildContext.mountPoint + '/bootstrap -i ' + self._corePackages
+                cmd = 'wget -c -nv --base=' + self._url + ' -P ' + buildContext.mountPoint + '/bootstrap -i ' + self._corePackages
                 self.exec_command(buildContext, cmd, env=env)
 
                 p = re.compile( '(\n|\r)')

File src/stacklet/task/distro/gentoo.py

 
                 env = {'http_proxy': self._proxy}
 
-                cmd = 'wget ' + self._url + 'releases/' + self._arch + '/' + self._release + '/stages/stage3-' + self._arch + '-' + self._release + '.tar.bz2  -P ' + buildContext.mountPoint
+                cmd = 'wget -c ' + self._url + 'releases/' + self._arch + '/' + self._release + '/stages/stage3-' + self._arch + '-' + self._release + '.tar.bz2  -P ' + buildContext.mountPoint
                 self.exec_command(buildContext, cmd, env=env)
 
                 cmd = 'tar -xjpf ' + buildContext.mountPoint + '/stage3*.bz2' + ' -C ' + buildContext.mountPoint
                 self.exec_command(buildContext, cmd)
 
-                cmd = 'wget ' + self._url + '/snapshots/portage-latest.tar.bz2 -P ' + buildContext.mountPoint + '/usr'
+                cmd = 'wget -c ' + self._url + '/snapshots/portage-latest.tar.bz2 -P ' + buildContext.mountPoint + '/usr'
                 self.exec_command(buildContext, cmd, env=env)
 
                 cmd = 'tar -xjpf ' + buildContext.mountPoint + '/usr/portage*.bz2' + ' -C ' + buildContext.mountPoint + '/usr'

File src/stacklet/task/distro/mandriva.py

                     proxyArg = ' --proxy ' + self._proxy
 
                 baseURL = self._url + 'media/main/release/'
-                cmd = 'wget --waitretry=20 --tries=15 -nv --base=' + baseURL + ' -P ' + buildContext.mountPoint + '/bootstrap -i ' + self._corePackages
+                cmd = 'wget -c --waitretry=20 --tries=15 -nv --base=' + baseURL + ' -P ' + buildContext.mountPoint + '/bootstrap -i ' + self._corePackages
                 self.exec_command(buildContext, cmd, env=env)
 
                 cmd='rpm --root ' + buildContext.mountPoint + ' -i ' +  buildContext.mountPoint + '/bootstrap/*.rpm'

File src/stacklet/task/distro/red.py

                 cmd = 'cp /etc/resolv.conf ' +  buildContext.mountPoint + '/etc/'
                 self.exec_command(buildContext, cmd)
 
-                cmd = 'wget -nv --base=' + self._url + ' -P ' + buildContext.mountPoint + '/bootstrap -i ' + self._corePackages
+                cmd = 'wget -c -nv --base=' + self._url + ' -P ' + buildContext.mountPoint + '/bootstrap -i ' + self._corePackages
                 self.exec_command(buildContext, cmd, env=env)
 
                 cmd = 'rpm --root ' + buildContext.mountPoint + ' -i ' +  buildContext.mountPoint + '/bootstrap/*.rpm'

File src/stacklet/task/distro/slack.py

                 env = {'http_proxy': self._proxy}
 
                 slackURL = self._url + 'slackware/'
-                cmd = 'wget -nv --base=' + slackURL + ' -P ' + buildContext.mountPoint + '/bootstrap -i ' + self._corePackages
+                cmd = 'wget -c -nv --base=' + slackURL + ' -P ' + buildContext.mountPoint + '/bootstrap -i ' + self._corePackages
                 self.exec_command(buildContext, cmd, env=env)
 
                 cmd='tar -xzpf ' + buildContext.mountPoint + '/bootstrap/aaa_base-*.tgz' + ' -C ' + buildContext.mountPoint