Age | Commit message (Collapse) | Author | Files | Lines |
|
Regression introduced in commit
6d5f3b79c743ee8b466813ea3e62b4d492fc598c.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
The problem occurred because we overrode the list of recorded
build-ids after each package. This works perfectly fine for dbgsym
packages as they always have a 1:1 with the original package.
However, a manual --dbg-package can host debug symbols for multiple
binary packages.
There are two paths to triggering this issue:
dh_strip -p pkg1 -p pkg2 --dbg-package=foo-dbg
and:
dh_strip -p pkg1 --dbg-package=foo-dbg
dh_strip -p pkg2 --dbg-package=foo-dbg
(This case was observed in krb5/1.15.2-2 where it loops over most of
the packages and calls dh_strip on each of them with the same
--dbg-package parameter.)
They fundamentally have the same issue and fix but the second case is
slightly more involved (as we have to merge with the previous run).
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
While not perfect, it should minimize most of the Ubuntu delta related
to dbgsym packages. Instead of having to patch dh_gencontrol and
dh_builddeb, Ubuntu can now change a single line in Dh_Lib to have the
desired behaviour.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Use $main::VERSION to determine the version of the tool and embed that
into auto-generated snippets (e.g. via autoscript). This enables
lintian to extract the tool + version and display it on:
https://lintian.debian.org/tags/debhelper-autoscript-in-maintainer-scripts.html
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Set the local variables for Emacs in the central placed intended for
it, rather than in (currently) 95 individual files.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Re-indent pending next commit.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
It is redundant (the original package also has it) plus it can cause
non-overridable lintian warnings.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
As dak auto-rejects packages with those uploads and we may want to use
an explicit "no" to disable future auto-computation of the Multi-Arch
field.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
They were not needed in the first place (as "install -d" DTRT).
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This ensures we do not collect build-ids for the udeb at all (unless
it actually contains debug symbols).
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This is outstandingly helpful for anyone looking to track down what
debug package provides the symbols for the build id they're looking at.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
This will add `X-Build-Ids` to debug debs, which will be a space
separated list of build ids provided by this package. This will allow
tools to work out which .deb will provide the build-id required to
install symbols for a given coredump.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Since dpkg-dev 1.18.2~, dpkg-gencontrol figures out the desired value
for the "Source" field for ddebs (and does so better than debhelper
did).
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Unfortunately, dpkg and APT do not agree on the meaning of such a
dependency.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Add an --debug-migration option that accepts a Breaks+Replaces
relation. This relation is added to the generated to ddebs to avoid
file-conflicts.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Unless the original package is "Multi-Arch: same", there is no reason
for the ddeb to have a "Multi-Arch" field.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Previously, ddebs would inherit the field from its base package.
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
Signed-off-by: Niels Thykier <niels@thykier.net>
|
|
to dpkg-gencontrol when only operating on one package. There seems to be no benefit to doing that, and it breaks when using Build-Profiles, since while debhelper may know a profile only allows for one package, dpkg-gencontrol may see other packages in the control file.
|
|
As advised in man(1), always use: B<bold text> type exactly as shown.
I<italic text> replace with appropriate argument.
s/debian/Debian/ if needed. s/ / / also.
s/perl/Perl/ s/python/Python/ and s/emacs/Emacs/ too.
|
|
|
|
after -- is much more sane. (However, -u will not go away any time soon.) Closes: #554509
|
|
dpkg-gencontrol.
* dh_gencontrol: No longer need to generate the udeb filename
when calling dpkg-gencontrol.
* dh_gencontrol: Do not need to tell dpkg-gencontol not to
include the Homepage field in udebs (fixed in dpkg-dev 1.14.17).
|