aboutsummaryrefslogtreecommitdiffstats
path: root/lib/oe/path.py
AgeCommit message (Collapse)Author
2010-10-09oe.path: add 'find' convenience functionChris Larson
find is simply an os.walk in generator form, yielding the absolute path to each file. Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-09-27oe.path: added 'recurse' argument to remove()Enrico Scholz
This makes it possible to specify whether the equivalent of 'rm -rf' or only this of 'rm -f' is wanted. Due to backward compatibility it defaults to the recursive variant. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Acked-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-07-26oe.patch: don't error when the symlink already exists and is correctEvgeniy Dushistov
Adds oe.path.symlink convenience function. Signed-off-by: Evgeniy Dushistov <dushistov@mail.ru> Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-06-10Add a rm -rf utility function and use it in packaged-staging.bbclassChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-24oe.path.relative: add missing importsChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-24Revert "oe.path.relative: switch to a different appraoch"Chris Larson
Drop this for now, seems to cause issues with python 2.5. This reverts commit 5c923fd35c369bae929fc0e110121abeaffab493.
2010-04-23oe.path.relative: switch to a different appraochChris Larson
Signed-off-by: Chris Larson <clarson@kergoth.com>
2010-04-23oe.path.relative: leverage os.path.relpath if availableChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-23oe.path.join: simplify a bitChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>
2010-04-23Initial move of common python bits into modules of the 'oe' python packageChris Larson
Signed-off-by: Chris Larson <chris_larson@mentor.com>