Re: [RFC v2 4/4] backports: add kernl integration support to gentree.py

From: Stefan Assmann
Date: Wed Oct 29 2014 - 11:45:51 EST


On 29.10.2014 09:21, Luis R. Rodriguez wrote:
> From: "Luis R. Rodriguez" <mcgrof@xxxxxxxx>
>
> Signed-off-by: Luis R. Rodriguez <mcgrof@xxxxxxxx>
> ---
> backport/Kconfig | 54 --------
> backport/Kconfig.sources | 23 ++++
> backport/Makefile | 3 +-
> backport/Makefile.kernel | 18 +++
> backport/backport-include/backport/backport.h | 2 +
> backport/compat/Makefile | 4 +
> gentree.py | 186 +++++++++++++++++++++-----
> lib/bpversion.py | 48 +++++++
> lib/kconfig.py | 12 +-
> 9 files changed, 260 insertions(+), 90 deletions(-)
> delete mode 100644 backport/Kconfig
> create mode 100644 backport/Kconfig.sources
> create mode 100644 lib/bpversion.py

This breaks my usual gentree.py run.

~/backports> ./gentree.py --clean --git-revision next-20141023 ~/backports/linux-next/ /dev/shm/backports-next
Get original source files from git ...
Traceback (most recent call last):
File "./gentree.py", line 1028, in <module>
ret = _main()
File "./gentree.py", line 517, in _main
logwrite=logwrite)
File "./gentree.py", line 637, in process
copy_files(os.path.join(source_dir, 'backport'), backport_files, args.outdir)
File "./gentree.py", line 175, in copy_files
os.path.join(outdir, tgtitem))
File "/usr/lib64/python2.7/shutil.py", line 119, in copy
copyfile(src, dst)
File "/usr/lib64/python2.7/shutil.py", line 82, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/root/backports/backport/Kconfig.package'

I don't see Kconfig.package in this series. Did you forget to git add it?

Stefan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/