[OE-core] [PATCH 4/4] kern-tools: fix multi-layer patch application

Khem Raj raj.khem at gmail.com
Tue Sep 29 17:07:03 UTC 2015


> On Sep 29, 2015, at 7:31 AM, Bruce Ashfield <bruce.ashfield at windriver.com> wrote:
> 
> Updating the kern-tools SRCREV to import the following fix:
> 
>    kgit-meta: resume after last applied patch
> 
>    When the auto-resume (resume point detection) was removed from the
>    processing of a meta-series, it ignored the fact that a single patch
>    series may in fact be processed a number of times.
> 
>    Two layers patching a kernel will generate two different runs on the
>    same branch, which always start at patch one. This will obviously
>    break with duplicate patches.
> 
>    To avoid this, we simply track the last patch applied, and
>    explicitly
>    tell the patch scripts where to start. This gets us resume
>    functionality, without the overhead of resume point detection.
> 
> Signed-off-by: Bruce Ashfield <bruce.ashfield at windriver.com>
> ---
> meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
> index 27df02ab7a44..18be4ad61598 100644
> --- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
> +++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
> @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://git/tools/kgit;beginline=5;endline=9;md5=d8d1d729a70c
> 
> DEPENDS = "git-native"
> 
> -SRCREV = "b7642a7c3f685850ffbb961313e6a593adb05370"
> +SRCREV = “1fb91c2965193df894089fbcbcafe3bf775c21fd"

this works well now.

> PR = "r12"
> PV = "0.2+git${SRCPV}"
> 
> --
> 2.1.0
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20150929/f930a9c6/attachment-0002.sig>


More information about the Openembedded-core mailing list