]> git.ipfire.org Git - pakfire.git/commitdiff
builder: Drop exporting distro environment variables
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Apr 2021 12:31:59 +0000 (12:31 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 20 Apr 2021 12:31:59 +0000 (12:31 +0000)
I have no idea what those could be used for

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/pakfire/builder.py

index 8c98cc0d5b438b9f52652ff9fb801464d2d7aced..2713a618d2285ed32256bcb40e61791ddbd72d23 100644 (file)
@@ -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: