summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Packaging')
-rw-r--r--Swift/Packaging/Debian/update_debian_repo.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/Swift/Packaging/Debian/update_debian_repo.sh b/Swift/Packaging/Debian/update_debian_repo.sh
index 6a337fb..d62a376 100644
--- a/Swift/Packaging/Debian/update_debian_repo.sh
+++ b/Swift/Packaging/Debian/update_debian_repo.sh
@@ -64,7 +64,7 @@ TempDir: $APT_TEMP_DIR
Allow: beta development release
Multiple: Yes
Cleanup: unused_files on_error
-Permit: older_version
+Permit: unused_files older_version
EOM
}
@@ -89,6 +89,12 @@ for full_distribution_path in $INCOMING_FOLDER/{debian,ubuntu}/*; do
write_reprepo_conf_incoming_to_file "${distro_reprepro_root}/conf/incoming" "$full_distribution_path"
fi
+ # This is workaround for https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808558
+ # and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=843402
+ if [ "$distro_name/$distro_version" = "debian/sid" ]; then
+ sed -i '/dbgsym/ d' $full_distribution_path/*.changes
+ fi
+
echo "Process incoming packages for $distro_name/$distro_version"
#set +e
reprepro -V -b ${distro_reprepro_root} processincoming swift