Add --depth=1 to ostree sync

Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
Patrick Uiterwijk 2017-11-10 22:55:29 +00:00
parent 15dab543af
commit 8ea9a3766c

View file

@ -136,7 +136,7 @@ def sync_ostree(dst, ref):
else:
logger.info('Syncing OSTree to %s, ref %s: %s -> %s',
dst, ref, src_commit, dst_commit)
cmd = ['ostree', 'pull-local', '--verbose', '--repo',
cmd = ['ostree', 'pull-local', '--verbose', '--depth=-1', '--repo',
dst, ATOMICSOURCE, ref]
out = run_command(cmd)
cmd = ['ostree', 'summary', '--verbose', '--repo', dst, '--update']