From ccc81eec81f962ba453383556ce1d5a1c2f490f9 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Tue, 23 Jul 2013 14:15:32 +0100 Subject: Do not use cp --reflink, busybox doesn't have it --- yarn | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/yarn b/yarn index 6845345..9847a68 100755 --- a/yarn +++ b/yarn @@ -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. -- cgit v1.2.1