[MERGED] osmo-sgsn[master]: Debian: fix dh_strip rules for creating one -dbg per program

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Oct 28 17:59:18 UTC 2017


Harald Welte has submitted this change and it was merged.

Change subject: Debian: fix dh_strip rules for creating one -dbg per program
......................................................................


Debian: fix dh_strip rules for creating one -dbg per program

Before this patch, all debug symbols end up in osmo-sgsn-dbg,
with osmo-{gbproxy,gtphub}-dbg being empty.

Change-Id: Ib2ceecb3527855350b69d7413efe42274dc6febd
---
M debian/rules
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/debian/rules b/debian/rules
index dbe582b..58ea9bb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -56,9 +56,9 @@
 
 # See https://www.debian.org/doc/manuals/developers-reference/best-pkging-practices.html#bpp-dbg
 override_dh_strip:
-	dh_strip --dbg-package=osmo-sgsn-dbg
-	dh_strip --dbg-package=osmo-gtphub-dbg
-	dh_strip --dbg-package=osmo-gbproxy-dbg
+	dh_strip -posmo-sgsn --dbg-package=osmo-sgsn-dbg
+	dh_strip -posmo-gtphub --dbg-package=osmo-gtphub-dbg
+	dh_strip -posmo-gbproxy --dbg-package=osmo-gbproxy-dbg
 
 # Print test results in case of a failure
 override_dh_auto_test:

-- 
To view, visit https://gerrit.osmocom.org/4536
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib2ceecb3527855350b69d7413efe42274dc6febd
Gerrit-PatchSet: 1
Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list