mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-29 22:24:51 +00:00 
			
		
		
		
	Merge pull request #182 from ep1cman/fixes
sysfs_extractor & cpufreq: Fixed error when tar.gz file already existed
This commit is contained in:
		| @@ -157,8 +157,8 @@ class SysfsExtractor(Instrument): | ||||
|                                                               self.tmpfs_mount_point), | ||||
|                                 as_root=True) | ||||
|             self.device.execute('chmod 0777 {}'.format(on_device_tarball), as_root=True) | ||||
|             self.device.execute('{} gzip {}'.format(self.device.busybox, | ||||
|                                                     on_device_tarball)) | ||||
|             self.device.execute('{} gzip -f {}'.format(self.device.busybox, | ||||
|                                                        on_device_tarball)) | ||||
|             self.device.pull_file(on_device_tarball + ".gz", on_host_tarball) | ||||
|             with tarfile.open(on_host_tarball, 'r:gz') as tf: | ||||
|                 tf.extractall(context.output_directory) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user