[bitbake-devel] [PATCH 0/1] Add deletion safeguard

Paul Eggleton paul.eggleton at linux.intel.com
Fri Apr 17 14:26:58 UTC 2015


Try to guard against any repeat of bug 7620:

  https://bugzilla.yoctoproject.org/show_bug.cgi?id=7620

It won't protect usage of shutil.rmtree(), but there's not a lot
we can do about that and we use both of the functions that are protected
extensively throughout BitBake/OE.


The following change since commit e2879c60e905d7566091d40eab330372fa001313:

  bitbake-user-manual: Cleaned up parallelism note and formatted user input (2015-04-17 13:28:31 +0100)

is available in the git repository at:

  git://git.yoctoproject.org/poky-contrib paule/rm-safeguard
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/rm-safeguard

Paul Eggleton (1):
  lib/bb/utils: add safeguard against recursively deleting things we shouldn't

 lib/bb/tests/utils.py | 17 +++++++++++++++++
 lib/bb/utils.py       | 21 +++++++++++++++++++++
 2 files changed, 38 insertions(+)

-- 
2.1.0




More information about the bitbake-devel mailing list