[debhelper-devel] [debhelper] 02/03: dh_md5sums: Process packages in parallel
Niels Thykier
nthykier at moszumanska.debian.org
Sun Jun 25 11:56:50 UTC 2017
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit fdebe4d207ca8dd64fd60ea74214b70fbb5b2945
Author: Niels Thykier <niels at thykier.net>
Date: Sun Jun 25 11:55:31 2017 +0000
dh_md5sums: Process packages in parallel
Re-indent of code pending next commit.
Signed-off-by: Niels Thykier <niels at thykier.net>
---
debian/changelog | 1 +
dh_md5sums | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 2e7f12f..b583a27 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -32,6 +32,7 @@ debhelper (10.5) UNRELEASED; urgency=medium
* dh_installman: Ditto.
* dh_genchanges: Ditto.
* dh_shlibdeps: Ditto.
+ * dh_md5sums: Ditto.
* dh_builddeb: Rewrite the hand-written parallel code to use the new
simplier way of doing it.
* dh_shlibdeps: Avoid calling file(1) on debug symbols.
diff --git a/dh_md5sums b/dh_md5sums
index 7e00c97..ecc0e7a 100755
--- a/dh_md5sums
+++ b/dh_md5sums
@@ -49,7 +49,8 @@ init(options => {
"include-conffiles" => \$dh{INCLUDE_CONFFILES},
});
-foreach my $package (@{$dh{DOPACKAGES}}) {
+on_pkgs_in_parallel {
+ foreach my $package (@_) {
next if is_udeb($package);
my $dbgsym_tmp = "debian/.debhelper/${package}/dbgsym-root";
@@ -102,6 +103,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
}
}
+};
+
=head1 SEE ALSO
L<debhelper(7)>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list