[LEDE-DEV] [PATCH] kernel: update kernel 4.4 to version 4.4.30

Hannu Nyman hannu.nyman at iki.fi
Wed Nov 2 05:14:46 PDT 2016


On 2.11.2016 13:48, p.wassi at gmx.at wrote:
>
> I come to this conclusion: it may happen, that local changes/patches have
> effect on other patches in the chain, resulting in a fuzzed applying of these.

That is right. Patches are chained and 'quilt' applies them in order. The 
same file can be touched multiple times.

> I'll give it a try an do the following: write a simple script that
> -) downloads upstream kernel
> -) applies local generic patches
> -) then, one-by-one, applies platform patches
> if all patches are refreshed correctly, there shouldn't be any FAILED or
> fuzz results.

I would have thought that the "refresh all kernel platforms" script from 
Kanjimonster (Jonas Gorski) that was linked yesterday in this message thread 
by Stijn Segers would do just that when applied to the current kernel 
version. But if you want to write another tool for that, feel free.

>   (I've done all my patches using 'diff' and am using 'git diff'
> for a month or so to do so, so I have no idea of 'quilt' and other tools :) )

You need to familiarize yourself with quilt basics if you seriously think 
about modifying kernel-related stuff here, as the local changes to kernel are 
done via patches. So you are always working with patch chains (and changes to 
them are patches that modify patches...). Some advice can be found in 
https://wiki.openwrt.org/doc/devel/patches




More information about the Lede-dev mailing list