summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2015-12-19 22:00:20 (GMT)
committerNiels Thykier <niels@thykier.net>2015-12-19 22:00:20 (GMT)
commitf1a803456201a1c5db10a0dc1a539f2a06b95bbf (patch)
tree6ce51caf00b6f95c928fa04da50db70e18bba6c8
parent78cda72eb36687f993d5b2651544a1b0d7b43505 (diff)
dh_strip: Enable dbgsym generation by default
Signed-off-by: Niels Thykier <niels@thykier.net>
-rw-r--r--debian/changelog4
-rwxr-xr-xdh_strip2
2 files changed, 4 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index 7bdc8cf..a210c41 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,10 @@ debhelper (9.20151126+unreleased) UNRELEASED; urgency=medium
* dh_strip: Do not assume that ELF binaries have a Build-Id.
Thanks to Helmut Grohne for spotting this issue.
(Closes: #806814)
+ * dh_strip: Enable generation of dbgsym packages by default.
+ Thanks to Ansgar Burchardt and Paul Tagliamonte for
+ implementing the DAK side of this feature.
+ (Closes: #510772)
-- Niels Thykier <niels@thykier.net> Sat, 28 Nov 2015 09:18:02 +0100
diff --git a/dh_strip b/dh_strip
index 89c091f..9092d50 100755
--- a/dh_strip
+++ b/dh_strip
@@ -158,8 +158,6 @@ if ($dh{MIGRATE_DDEB} and not $dh{ENABLE_DDEBS}) {
error("--ddeb-migration and --no-ddebs are mutually exclusive");
}
-$dh{ENABLE_DDEBS} = 0 if not $ENV{'DH_BUILD_DDEBS'};
-
# This variable can be used to turn off stripping (see Policy).
if (get_buildoption('nostrip')) {
exit;