From ce99ffc7d90331aa3eaf1ed48eacab2033f875c9 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Sun, 5 Nov 2017 08:17:27 +0100 Subject: [PATCH] Sync out delta rpms Signed-off-by: Patrick Uiterwijk --- roles/bodhi2/backend/files/new-updates-sync | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/bodhi2/backend/files/new-updates-sync b/roles/bodhi2/backend/files/new-updates-sync index e3439a0a01..c1c4378d5a 100755 --- a/roles/bodhi2/backend/files/new-updates-sync +++ b/roles/bodhi2/backend/files/new-updates-sync @@ -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)