Bug #4342
closedosmo-iuh.git debian packages improvements
100%
Description
It seems several things may be wrong in current debian/ directory of osmo-iuh.git
Right now autofoo creates 2 shared libraries, libosmo-ranap and libosmo-sabp.
However, debian/ only creates libosmo-ranap .deb, and inside one can find both libraries libosmo-ranap and libosmo-sabp. Same goes for -dev and for -dbg.
Once the libosmo-sabp is created, we may need to adjust other packages using it to depend on it in debian/.
Another issue: I think all the dbg symbols are being put inside libosmo-ranap-dbg, also the ones from package osmo-hnbgw.
Hint: That's what's done in osmo-iuh.git/debian/rules:
override_dh_strip: dh_strip --dbg-package=libosmo-ranap-dbg dh_strip --dbg-package=osmo-hnbgw
That's what's similarly done in osmo-ggsn.git, but see the difference in specifying the package:
override_dh_strip: dh_strip -posmo-ggsn --dbg-package=osmo-ggsn-dbg dh_strip -plibgtp6 --dbg-package=libgtp-dbg
Updated by pespin over 4 years ago
I submitted following patches which should address the issues described above. I'll test them soon:
remote: https://gerrit.osmocom.org/c/osmo-iuh/+/16715 debian/rules: Fix dbg pacakges [WIP]
remote: https://gerrit.osmocom.org/c/osmo-iuh/+/16716 debian: Split libosmo-sabp from libosmo-ranap package [WIP
Updated by pespin over 4 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Merged, closing.