|author||Enrico Scholz <firstname.lastname@example.org>||2010-04-13 23:55:39 +0000|
|committer||Tom Rini <email@example.com>||2010-04-14 13:37:58 -0700|
packaged-staging.bbclass: use 'os.unlink()' instead of spawning 'rm'
Doing a '-c clean' operation on a staged package with very much files (e.g. glibc) took several minutes because * every removed file was reported * an 'rm' instance was spawned for every file This patch uses the native 'os.unlink()' method for removing files and reports only the removed root directory instead of the single files. Based upon maillist discussion, reporting happens with 'debug' level instead of 'note' one, and only error conditions due to non-existing files will be ignored. Other (e.g. permission denied) errors will now abort the build while they were silently ignored previously. Signed-off-by: Enrico Scholz <firstname.lastname@example.org> Signed-off-by: Enrico Scholz <email@example.com> Acked-by: Sebastian Spaeth <Sebastian@SSpaeth.de> Acked-by: Tom Rini <firstname.lastname@example.org> Signed-off-by: Tom Rini <email@example.com>
Diffstat (limited to 'recipes/miglayout')
0 files changed, 0 insertions, 0 deletions