All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Luis R. Rodriguez" <mcgrof@kernel.org>
To: Peter Huewe <PeterHuewe@gmx.de>
Cc: "backports@vger.kernel.org" <backports@vger.kernel.org>
Subject: Re: gentree fails at no such file compat/crypto-skcipher.c
Date: Mon, 8 Aug 2016 10:35:47 -0700	[thread overview]
Message-ID: <CAB=NE6W=-sOfJCTHZSzk1pFC20Zh9R-rELOe2zcoCDhY_hw33Q@mail.gmail.com> (raw)
In-Reply-To: <trinity-50e3397a-cfd4-4f35-ab8b-51700c2a6cf6-1470642723593@3capp-gmx-bs12>

On Mon, Aug 8, 2016 at 12:52 AM, Peter Huewe <PeterHuewe@gmx.de> wrote:
>
> I'm currently looking into the backports project to figure out how hard it would be to add the tpm drivers.
> However unfortunately the gentree.py script fails, and I cannot really explain why:
>
> ./gentree.py --clean --git-revision v4.0 /home/peter/linux-next/ /home/peter/linux-4.0-backport
> Get original source files from git ...
> Traceback (most recent call last):
>   File "./gentree.py", line 1091, in <module>
>     ret = _main()
>   File "./gentree.py", line 724, in _main
>     logwrite=logwrite)
>   File "./gentree.py", line 862, in process
>     disable_list = add_automatic_backports(args)
>   File "./gentree.py", line 276, in add_automatic_backports
>     automatic_backport_mangle_c_file(f)), 'r'):
> IOError: [Errno 2] No such file or directory: '/home/peter/linux-4.0-backport/compat/crypto-skcipher.c'

If you are trying to use a target v4.0 kernel then you need to
checkout the linux-4.0.y branch from the backports tree as well.

git checkout -b linux-4.0.y origin/linux-4.0.y

And try again.

But if you are trying to add new drivers, best is to just try the
master branch of backports against the latest respective linux-next
tag that backports works against, so in this case backports is at
backports-20160324, so you can set you linux-next tree to
next-20160324:

git reset --hard next-20160324

This is because contributions would go to the master branch of backports.

  Luis
--
To unsubscribe from this list: send the line "unsubscribe backports" in

  reply	other threads:[~2016-08-08 17:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-08  7:52 gentree fails at no such file compat/crypto-skcipher.c Peter Huewe
2016-08-08 17:35 ` Luis R. Rodriguez [this message]
2016-08-08 19:05   ` Peter Huewe
2016-08-08 20:14     ` Luis R. Rodriguez
2016-08-09  5:02       ` Aw: " Peter Huewe
2016-08-09 21:28         ` Luis R. Rodriguez
2016-08-09 22:15           ` Luis R. Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAB=NE6W=-sOfJCTHZSzk1pFC20Zh9R-rELOe2zcoCDhY_hw33Q@mail.gmail.com' \
    --to=mcgrof@kernel.org \
    --cc=PeterHuewe@gmx.de \
    --cc=backports@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.