Revision 29274f83
b/image_creator/bundle_volume.py | ||
---|---|---|
385 | 385 |
rsync = Rsync(self.out) |
386 | 386 |
|
387 | 387 |
# Excluded paths need to be relative to the source |
388 |
for excl in map(lambda p: os.path.relpath(p, '/'), |
|
389 |
excluded + [image]): |
|
388 |
for excl in map(lambda p: p[1:], excluded + [image]): |
|
390 | 389 |
rsync.exclude(excl) |
391 | 390 |
|
392 | 391 |
rsync.archive().hard_links().xattrs().sparse().acls() |
Also available in: Unified diff