[Unstable/Lunar][PATCH 0/3] Fix debug package builds

Juerg Haefliger juerg.haefliger at canonical.com
Fri Jan 13 08:40:30 UTC 2023


Currently, debug packages are only built when doing a 'full build'.
A 'full build' is performed if the file /CurrentlyBuilding is present,
which indicates that we're building in a PPA. So far, so good. However,
PPAs have a configuration option 'Build debug symbols' and if that option
is unset, we simply remove the debug package names from debian/files so
they don't get published.

It seems wrong to even build the packages in this case.

The first patch fixes that. The second patch is just a simplification that
drops an unnecessary if-then, and the third patch removes variables that
are no longer needed due to patch 1.

Juerg Haefliger (3):
  UBUNTU: [Packaging] debian/rules: Fix PPA debug package builds
  UBUNTU: [Packaging] debian/rules: Remove debug package install
    directory earlier
  UBUNTU: [Packaging] debian/rules: Remove unnecessary 'lockme_<foo>'
    variables

 debian/rules.d/0-common-vars.mk |  9 ++++++---
 debian/rules.d/2-binary-arch.mk | 19 ++++---------------
 2 files changed, 10 insertions(+), 18 deletions(-)

-- 
2.34.1




More information about the kernel-team mailing list