Hello, it would be nice if sbuild supported the --env=VAR=VALUE command line option like autopkgtest:
Hi Raphaël, Quoting Raphaël Hertzog (2023-10-11 11:08:00) this doesn't sound like a bad idea. I will happily review patches that implement this. Thanks! cheers, josch
Hi! the variable name and its value on the CLI we could add support for appending values to $environment_filter, ie: specify which variables should be whitelisted. Something like: --allow-var=FOO --allow-var=BAR Resulting in: $environment_filter = [Dpkg::BuildInfo::get_build_env_allowed(), 'FOO', 'BAR']; Either way, definitely a useful feature!