]> code.ossystems Code Review - openembedded-core.git/commit
devtool: reset: delete bbappend file if _check_preserve() doesn't
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 26 Feb 2018 01:49:56 +0000 (14:49 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Mar 2018 22:09:17 +0000 (22:09 +0000)
commit751d27600a3df18d96baaa48696acf33ee964bec
treeced052041b74e0921f9cf6e65e9faf0fdc035b90
parent56e04260d64de9c5b83893d97cf41b7ea9a45878
devtool: reset: delete bbappend file if _check_preserve() doesn't

If the .devtool_md5 file doesn't contain a reference to the bbappend
file (e.g. because devtool was interrupted before it could write that
out) then _check_preserve() won't delete it, so we need to delete it
separately because otherwise the recipe won't actually be reset.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/devtool/standard.py