From: "Luis R. Rodriguez" <mcgrof@xxxxxxxxxxxxxxxx> Patches where the origin is /dev/null should be considered as needed. Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxxxxxxxxxx> --- gentree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentree.py b/gentree.py index 9d0f3ae..372587f 100755 --- a/gentree.py +++ b/gentree.py @@ -368,7 +368,7 @@ def process(kerneldir, outdir, copy_list_file, git_revision=None, # assume the patch needs to be applied -- otherwise continue patched_file = '/'.join(p.items[0].source.split('/')[1:]) fullfn = os.path.join(args.outdir, patched_file) - if not os.path.exists(fullfn): + if ((patched_file != "null") and (not os.path.exists(fullfn))): if args.verbose: logwrite("Not applying %s, not needed" % print_name) continue -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe backports" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html