Add --depth=1 to ostree sync
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
15dab543af
commit
8ea9a3766c
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ def sync_ostree(dst, ref):
|
||||||
else:
|
else:
|
||||||
logger.info('Syncing OSTree to %s, ref %s: %s -> %s',
|
logger.info('Syncing OSTree to %s, ref %s: %s -> %s',
|
||||||
dst, ref, src_commit, dst_commit)
|
dst, ref, src_commit, dst_commit)
|
||||||
cmd = ['ostree', 'pull-local', '--verbose', '--repo',
|
cmd = ['ostree', 'pull-local', '--verbose', '--depth=-1', '--repo',
|
||||||
dst, ATOMICSOURCE, ref]
|
dst, ATOMICSOURCE, ref]
|
||||||
out = run_command(cmd)
|
out = run_command(cmd)
|
||||||
cmd = ['ostree', 'summary', '--verbose', '--repo', dst, '--update']
|
cmd = ['ostree', 'summary', '--verbose', '--repo', dst, '--update']
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue