Sync out delta rpms
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
647c08a47e
commit
ce99ffc7d9
1 changed files with 5 additions and 0 deletions
|
@ -205,6 +205,8 @@ def sync_single_repo_arch(release, repo, arch, dest_path):
|
|||
|
||||
results.append(rsync(os.path.join(source_path, maindir, 'Packages'),
|
||||
os.path.join(dest_path)))
|
||||
results.append(rsync(os.path.join(source_path, maindir, 'drpms'),
|
||||
os.path.join(dest_path)))
|
||||
if arch != 'source':
|
||||
results.append(rsync(os.path.join(source_path, 'debug', 'tree', 'Packages'),
|
||||
os.path.join(dest_path, 'debug')))
|
||||
|
@ -220,6 +222,9 @@ def sync_single_repo_arch(release, repo, arch, dest_path):
|
|||
results.append(rsync(os.path.join(source_path, maindir, 'Packages'),
|
||||
os.path.join(dest_path),
|
||||
delete=True))
|
||||
results.append(rsync(os.path.join(source_path, maindir, 'drpms'),
|
||||
os.path.join(dest_path)),
|
||||
delete=True)
|
||||
|
||||
return collect_stats(results)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue