Re: gentree fails at no such file compat/crypto-skcipher.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Am 8. August 2016 10:35:47 GMT-07:00, schrieb "Luis R. Rodriguez" <mcgrof@xxxxxxxxxx>:
>On Mon, Aug 8, 2016 at 12:52 AM, Peter Huewe <PeterHuewe@xxxxxx> 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.

Thanks, this was not clear to me.
Should we add that to the wiki maybe?

>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.

About adding new drivers,
if I make only a patch against the master branch,
how do you then get support for older versions? E.g. 4.0.9?

How does the maintenance work? (As I then would also sign up to do the maintenance of the tpm drivers in the backports)

Thanks
Peter
-- 
Sent from my mobile
--
To unsubscribe from this list: send the line "unsubscribe backports" in



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux