#983072 dpkg: Vendor Hooks - add ability to update build profiles

Package:
dpkg
Source:
dpkg
Description:
Debian package management system
Submitter:
Dimitri John Ledkov
Date:
2022-03-27 22:57:07 UTC
Severity:
wishlist
Tags:
#983072#5
Date:
2021-02-18 23:03:33 UTC
From:
To:
Dear Maintainer,

In Ubuntu, we mostly use live images and no longer have a use for udebs.

Thus we are trying to build Ubuntu without udebs. Whilst we could set
DEB_BUILD_PROFILES it sbuild, it would result in locally built
packages with dpkg-buildpackage try to build udebs, even when primary
archive doesn't build them.

To avoid this discrepancy it would be nice to have a vendor hook, that
allows to set deb-build-profiles, similar to the deb-build-options hook.

I've implemented that, but I do not know perl. perl critic reports
issues, but if i fix them, unrelated tests start failing. So I'm at a
loss as to how to implement this idea correctly and without destroying
the ci.

Any reviews and advise would be highly appreciated.

Regards,

Dimitri.