On Tue, Nov 6, 2018 at 10:49 AM Guillem Jover <guil...@debian.org> wrote:
> dpkg-dev does no environment cleansing, that's sbuild. I think what
> you want is to modify its $environment_filter variable in .sbuildrc.

It's a bit annoying to need to set 2 lines instead of 1 in my sbuildrc
but it's not a big problem. I guess I can ask the sbuild maintainers
to expand their whitelist instead.

$environment_filter = [Dpkg::Build::Info::get_build_env_whitelist(),
'NO_PNG_PKG_MANGLE'];
$ENV{'NO_PNG_PKG_MANGLE'} = '1';

based on the docs in
https://manpages.debian.org/unstable/sbuild.conf#Core_options

Thanks,
Jeremy Bicha

Reply via email to