diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-07-23 14:15:32 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2013-07-23 14:15:32 +0100 |
commit | ccc81eec81f962ba453383556ce1d5a1c2f490f9 (patch) | |
tree | 0b12cfbf3f4234b87fe0d2f6184dc1010df7a00f /yarn | |
parent | f1f9c1a65f34c2798b4c8ac63c7a2ec689cdd25a (diff) | |
download | cmdtest-ccc81eec81f962ba453383556ce1d5a1c2f490f9.tar.gz |
Do not use cp --reflink, busybox doesn't have it
Diffstat (limited to 'yarn')
-rwxr-xr-x | yarn | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -317,10 +317,8 @@ class YarnRunner(cliapp.Application): return os.path.join(sd, base) def snapshot_datadir(self, tempdir, datadir, scenario, step_number, step): - # Use --reflink in case of CoW support, e.g., btrfs. snapshot = self.snapshot_dir(tempdir, scenario, step, step_number) - cliapp.runcmd( - ['cp', '-a', '--reflink=auto', datadir, snapshot]) + cliapp.runcmd(['cp', '-a', datadir, snapshot]) def nice(self, name): # Quote a scenario or step name so it forms a nice filename. |