summaryrefslogtreecommitdiffstats
path: root/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst')
-rw-r--r--bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst18
1 files changed, 9 insertions, 9 deletions
diff --git a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
index 8496e1da53..174cac7818 100644
--- a/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
+++ b/bitbake/doc/bitbake-user-manual/bitbake-user-manual-metadata.rst
@@ -1343,8 +1343,8 @@ the build machine cannot influence the build.
1343.. note:: 1343.. note::
1344 1344
1345 By default, BitBake cleans the environment to include only those 1345 By default, BitBake cleans the environment to include only those
1346 things exported or listed in its whitelist to ensure that the build 1346 things exported or listed in its passthrough list to ensure that the
1347 environment is reproducible and consistent. You can prevent this 1347 build environment is reproducible and consistent. You can prevent this
1348 "cleaning" by setting the :term:`BB_PRESERVE_ENV` variable. 1348 "cleaning" by setting the :term:`BB_PRESERVE_ENV` variable.
1349 1349
1350Consequently, if you do want something to get passed into the build task 1350Consequently, if you do want something to get passed into the build task
@@ -1352,14 +1352,14 @@ environment, you must take these two steps:
1352 1352
1353#. Tell BitBake to load what you want from the environment into the 1353#. Tell BitBake to load what you want from the environment into the
1354 datastore. You can do so through the 1354 datastore. You can do so through the
1355 :term:`BB_ENV_WHITELIST` and 1355 :term:`BB_ENV_PASSTHROUGH` and
1356 :term:`BB_ENV_EXTRAWHITE` variables. For 1356 :term:`BB_ENV_PASSTHROUGH_ADDITIONS` variables. For
1357 example, assume you want to prevent the build system from accessing 1357 example, assume you want to prevent the build system from accessing
1358 your ``$HOME/.ccache`` directory. The following command "whitelists" 1358 your ``$HOME/.ccache`` directory. The following command adds the
1359 the environment variable ``CCACHE_DIR`` causing BitBake to allow that 1359 the environment variable ``CCACHE_DIR`` to BitBake's passthrough
1360 variable into the datastore:: 1360 list to allow that variable into the datastore::
1361 1361
1362 export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE CCACHE_DIR" 1362 export BB_ENV_PASSTHROUGH_ADDITIONS="$BB_ENV_PASSTHROUGH_ADDITIONS CCACHE_DIR"
1363 1363
1364#. Tell BitBake to export what you have loaded into the datastore to the 1364#. Tell BitBake to export what you have loaded into the datastore to the
1365 task environment of every running task. Loading something from the 1365 task environment of every running task. Loading something from the
@@ -1376,7 +1376,7 @@ environment, you must take these two steps:
1376 A side effect of the previous steps is that BitBake records the 1376 A side effect of the previous steps is that BitBake records the
1377 variable as a dependency of the build process in things like the 1377 variable as a dependency of the build process in things like the
1378 setscene checksums. If doing so results in unnecessary rebuilds of 1378 setscene checksums. If doing so results in unnecessary rebuilds of
1379 tasks, you can whitelist the variable so that the setscene code 1379 tasks, you can also flag the variable so that the setscene code
1380 ignores the dependency when it creates checksums. 1380 ignores the dependency when it creates checksums.
1381 1381
1382Sometimes, it is useful to be able to obtain information from the 1382Sometimes, it is useful to be able to obtain information from the