Skip to content

Add deletion safeguard

Paul Eggleton bitbake-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1lib/bb/utils: add safeguard against recursively deleting things we shouldn'tlib/bb/tests/utils.py lib/bb/utils.py+38 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Add deletion safeguard

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(+)
Signature · 1 line
2.1.0