From: Michael Tremer Date: Tue, 20 Apr 2021 12:31:59 +0000 (+0000) Subject: builder: Drop exporting distro environment variables X-Git-Tag: 0.9.28~1285^2~299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ec3b792f5bf7a9f625ae3db741204828a293cd4;p=pakfire.git builder: Drop exporting distro environment variables I have no idea what those could be used for Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/builder.py b/src/pakfire/builder.py index 8c98cc0d5..2713a618d 100644 --- a/src/pakfire/builder.py +++ b/src/pakfire/builder.py @@ -162,9 +162,6 @@ class BuilderContext(object): "LANG" : os.environ.get("LANG", "en_US.UTF-8"), } - # Inherit environment from distro - env.update(self.pakfire.distro.environ) - # Fake UTS_MACHINE, when we cannot use the personality syscall and # if the host architecture is not equal to the target architecture. if not _pakfire.native_arch() == self.pakfire.arch: