diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 50624d8d33..7477ee6c6f 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -596,6 +596,9 @@ class BBCooker: | |||
596 | build. | 596 | build. |
597 | """ | 597 | """ |
598 | 598 | ||
599 | # Wipe the OS environment | ||
600 | bb.utils.empty_environment() | ||
601 | |||
599 | if self.configuration.show_environment: | 602 | if self.configuration.show_environment: |
600 | self.showEnvironment(self.configuration.buildfile, self.configuration.pkgs_to_build) | 603 | self.showEnvironment(self.configuration.buildfile, self.configuration.pkgs_to_build) |
601 | sys.exit( 0 ) | 604 | sys.exit( 0 ) |