We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0c9824 commit 9916dc3Copy full SHA for 9916dc3
src/cmd-import
@@ -93,7 +93,7 @@ def generate_oci_archive(args, tmpd):
93
94
if args.srcimg.startswith('oci-archive:'):
95
print(f"Copying {args.srcimg.partition(':')[2]} to {tmpf}")
96
- shutil.copy(args.srcimg.partition(':')[2], tmpf)
+ subprocess.check_call(['cp-reflink', args.srcimg.partition(':')[2], tmpf])
97
else:
98
extra_args = []
99
# in the containers-storage case, there's no digest to preserve
0 commit comments