Revision e6f134b3 image_creator/bundle_volume.py

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

  

Also available in: Unified diff