]> code.ossystems Code Review - openembedded-core.git/commit
devtool: add --force-patch-refresh to 'modify' and 'finish' commands
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>
Fri, 9 Mar 2018 12:27:47 +0000 (14:27 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 11 Mar 2018 13:25:19 +0000 (06:25 -0700)
commit7e1d1887be8faaaab9996fca9a3fd750aeb7b62f
tree07f27a3671979c60704259691b20d1329042313f
parentf4f3406c3bd9599d7a19275475d52bda4c42f2ab
devtool: add --force-patch-refresh to 'modify' and 'finish' commands

This is very useful for updating patch context so that any fuzz is eliminated.
Simply issue:

devtool modify <recipe>
devtool finish --force-patch-refresh <recipe> <layer_path>

Without this flag, devtool will not deem the commits in the workspace
different to patches in the layer, even if the commits have different,
up-to-date context line in them.

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/lib/devtool/standard.py