Revision e6f134b3

b/image_creator/bundle_volume.py
349 349
                    [(mapped[i], filesystems[i].mpoint) for i in mapped.keys()]
350 350
                )
351 351
                exclude = self._to_exclude() + [image]
352
                rsync = Rsync('/', target, exclude)
352
                rsync = Rsync('/', target,
353
                              map(lambda p: os.path.relpath(p, '/'), exclude))
353 354
                msg = "Copying host files into the image"
354 355
                rsync.archive().run(self.out, msg)
355 356

  
b/image_creator/rsync.py
55 55
        dry_run = subprocess.Popen(cmd + ['-n', self.src, self.dest],
56 56
                                   shell=False, stdout=subprocess.PIPE,
57 57
                                   bufsize=0)
58
        print "%r" % (cmd + ['-n', self.src, self.dest])
59 58
        total = 0
60 59
        for line in iter(dry_run.stdout.readline, b''):
61 60
            total += 1

Also available in: Unified diff