[buildd-tools-devel] Bug#587770: schroot - Please provide a way to add things to the default environment filter

Faheem Mitha faheem at faheem.info
Sat Jun 21 16:42:24 UTC 2014


Hi,

I also think this is a useful feature. The particular use case I'm
interested in is as follows. Currently schroot removes the DISPLAY env
variable, However, I'd prefer if it wasn't, because this breaks
running X applications from inside the chroot.

Loic wrote

> I second this feature request!  Something like debuild's
> --preserve-envvar= would be just fine with me (allows for simple
> regexps, but can also easily list multiple env vars to preserve).

I also think this is a good idea

The debuild man page says

      --preserve-envvar=var, -evar
               Do not clean the var variable from the environment.

               If var ends in an asterisk ("*") then all variables with names that match the portion of var before the asterisk will be preserved.

Something like that would work well, I think.

                              Regards, Faheem



More information about the Buildd-tools-devel mailing list