]> code.ossystems Code Review - openembedded-core.git/commit
devtool: Add --remove-work option for devtool reset command
authorSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Fri, 4 Oct 2019 22:52:29 +0000 (15:52 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 22 Oct 2019 21:18:43 +0000 (22:18 +0100)
commit0d6dd01b8633ad63d77c24568a4b20852aaa366f
tree5fe2b4746bcf6e9a392989fecea7af662f507bbc
parentc780f21c33b0684dafff3421600cd1c11ddd0c48
devtool: Add --remove-work option for devtool reset command

Enable --remove-work option for devtool reset command that allows user
to clean up source directory within workspace.

Currently devtool reset command only removes recipes and user is forced
to manually remove the sources directory within the workspace before
running devtool modify again.

Using devtool reset -r or devtool reset --remove-work option, user can
cleanup the sources directory along with the recipe instead of manually
cleaning it.

syntax: devtool reset -r <recipename>
    Ex: devtool reset -r zip

devtool finish -r <recipename> <layer-name>
    Ex: devtool finish -r zip meta-yocto-bsp

Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/standard.py