]> 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 07:48:15 +0000 (08:48 +0100)
commitf2fec7d20f06c1165bb528c1b8349bddb5400072
treeee3bcddbca770622bec7444fed2087bbaa0562f6
parentd93bb6146856e1751cd74e4c0d09da8c8b88df2d
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