Openembedded Bitbake Development
 help / color / mirror / Atom feed
* [RFC PATCH 0/1] Don't include cleaned variables in inherited environment
@ 2011-08-13  0:58 Joshua Lock
  2011-08-13  0:58 ` [RFC PATCH 1/1] Ensure only the filtered environment variables are inherited from the OS Joshua Lock
  0 siblings, 1 reply; 3+ messages in thread
From: Joshua Lock @ 2011-08-13  0:58 UTC (permalink / raw)
  To: bitbake-devel

Per James Limbouris' report the pristine, saved environment is erroneously
added to the data store. This patch fixes this bug by passing a list of the
permitted variables to the inheritFromOS method and only inheriting those
which appear in the approved list.

Please review the following changes for suitability for inclusion. If you have
any objections or suggestions for improvement, please respond to the patches. If
you agree with the changes, please provide your Acked-by.

The following changes since commit b3ad7acebfad3063c3364f4492f53b25bf53cf81:

  lib/bb/ui/crumbs/hobprefs: fix erroneous save/reparse (2011-08-12 17:48:13 +0100)

are available in the git repository at:
  git://github.com/incandescant/bitbake env
  https://github.com/incandescant/bitbake/tree/env

Joshua Lock (1):
  Ensure only the filtered environment variables are inherited from the
    OS

 bin/bitbake-layers |    6 +++---
 lib/bb/cooker.py   |    3 ++-
 lib/bb/data.py     |   15 ++++++++-------
 lib/bb/utils.py    |   23 ++++++++++++++++-------
 4 files changed, 29 insertions(+), 18 deletions(-)

-- 
1.7.6




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-15  8:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-13  0:58 [RFC PATCH 0/1] Don't include cleaned variables in inherited environment Joshua Lock
2011-08-13  0:58 ` [RFC PATCH 1/1] Ensure only the filtered environment variables are inherited from the OS Joshua Lock
2011-08-15  8:41   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox