~smoser/euca2ools/bundle-vol-copy-fs-info

« back to all changes in this revision

Viewing changes to bin/euca-bundle-image

  • Committer: root
  • Date: 2010-12-16 01:57:40 UTC
  • Revision ID: root@buildserver-20101216015740-j1tpfs83iskmh5sq
fixed sha1 generation for image/vol bundling. pipelined

Show diffs side-by-side

added added

removed removed

Lines of Context:
217
217
            print 'Invalid ec2cert'
218
218
            sys.exit(1)
219
219
 
220
 
        (image_size, sha_image_digest) = euca.check_image(image_path,
221
 
                destination_path)
 
220
        image_size = euca.check_image(image_path, destination_path)
222
221
        if not prefix:
223
222
            prefix = euca.get_relative_filename(image_path)
224
223
        try:
225
 
            tgz_file = euca.tarzip_image(prefix, image_path,
 
224
            (tgz_file, sha_tar_digest) = euca.tarzip_image(prefix, image_path,
226
225
                    destination_path)
227
226
        except NotFoundError:
228
227
            sys.exit(1)
252
251
            target_arch,
253
252
            image_size,
254
253
            bundled_size,
255
 
            sha_image_digest,
 
254
            sha_tar_digest,
256
255
            user,
257
256
            kernel,
258
257
            ramdisk,