From f8ca2383e1a5f69ef3f24b5436b3302e7a2e576e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 1 Mar 2011 00:06:58 +0000 Subject: base/utility-tasks.bbclass: Drop do_setscene and do_rebuild The do_setscene task only exists for rebuild support now as all its other functionality has been superceeded. The rebuild task currently crashes due to removal of the working directory and therefore isn't working for anyone. It also interacts extremely badly with the newer sstate technology to the point of being dangerous. Summary, if we want rebuild support it needs a reimplementation so remove this version and all its remnants and hacks. Signed-off-by: Richard Purdie --- meta/classes/utility-tasks.bbclass | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'meta/classes/utility-tasks.bbclass') diff --git a/meta/classes/utility-tasks.bbclass b/meta/classes/utility-tasks.bbclass index aeac2bce40..64bd84a5d3 100644 --- a/meta/classes/utility-tasks.bbclass +++ b/meta/classes/utility-tasks.bbclass @@ -28,25 +28,6 @@ python do_clean() { bb.build.exec_func(f, d) } -addtask rebuild after do_${BB_DEFAULT_TASK} -do_rebuild[dirs] = "${TOPDIR}" -do_rebuild[nostamp] = "1" -python do_rebuild() { - """rebuild a package""" -} - -#addtask mrproper -#do_mrproper[dirs] = "${TOPDIR}" -#do_mrproper[nostamp] = "1" -#python do_mrproper() { -# """clear downloaded sources, build and temp directories""" -# dir = bb.data.expand("${DL_DIR}", d) -# if dir == '/': bb.build.FuncFailed("wrong DATADIR") -# bb.debug(2, "removing " + dir) -# os.system('rm -rf ' + dir) -# bb.build.exec_func('do_clean', d) -#} - addtask checkuri do_checkuri[nostamp] = "1" python do_checkuri() { -- cgit v1.2.3-54-g00ecf