mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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 <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user