diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2024-03-04 15:01:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-03-05 12:25:08 +0000 |
commit | be10de34231d2b0081aa0ff7cbc36aef110d7fee (patch) | |
tree | 77d625e001118f53c1e0ecb8fb178e1523cdca03 | |
parent | f15676592bb8ba082b31d35c46631f35f1b3a222 (diff) | |
download | poky-be10de34231d2b0081aa0ff7cbc36aef110d7fee.tar.gz |
bitbake: utils: remove BB_ENV_PASSTHROUGH from preserved_envvars()
preserved_envvars() is used when the BB_ENV_PASSTHROUGH
environment variable is not set. Therefore, its code shouldn't
return this variable.
(Bitbake rev: 0a33b560233b983456178541603ab96fea22238b)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Tested-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/utils.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/bb/utils.py b/bitbake/lib/bb/utils.py index 068b631c94..ad13d04331 100644 --- a/bitbake/lib/bb/utils.py +++ b/bitbake/lib/bb/utils.py | |||
@@ -604,7 +604,6 @@ def preserved_envvars(): | |||
604 | v = [ | 604 | v = [ |
605 | 'BBPATH', | 605 | 'BBPATH', |
606 | 'BB_PRESERVE_ENV', | 606 | 'BB_PRESERVE_ENV', |
607 | 'BB_ENV_PASSTHROUGH', | ||
608 | 'BB_ENV_PASSTHROUGH_ADDITIONS', | 607 | 'BB_ENV_PASSTHROUGH_ADDITIONS', |
609 | ] | 608 | ] |
610 | return v + preserved_envvars_exported() | 609 | return v + preserved_envvars_exported() |