[OE-core] [PATCH 1/1] linux-yocto: add patch in existing SRC_URI value rather than using _append

Bruce Ashfield bruce.ashfield at gmail.com
Thu Mar 31 12:05:31 UTC 2016


On Thu, Mar 31, 2016 at 4:47 AM, Paul Eggleton <
paul.eggleton at linux.intel.com> wrote:

> Of course SRC_URI_append works just fine for building here, but it does
> introduce two problems:
>
> 1) It's not really very tidy and you could look at the SRC_URI value and
>    miss the fact that there's a patch appended at the end.
> 2) devtool update-recipe will end up duplicating the appended item
>    (covered under [YOCTO #9360]).
>
> Given the above it seems reasonable to squash the appended value into
> the main SRC_URI value.
>

This is only temporary, which is why it's an _append, and I'm about to get
rid of the need for this patch completely
since upstream has finally produced a 7 patch series to fix the regression.

So I'd rather not churn this, and leave it as-is for another few days.

Bruce


>
> Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
> ---
>  meta/recipes-kernel/linux/linux-yocto_4.4.bb | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> index 3d6991e..2832876 100644
> --- a/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> +++ b/meta/recipes-kernel/linux/linux-yocto_4.4.bb
> @@ -22,7 +22,9 @@ SRCREV_machine ?=
> "c43425f73287757a166d74464fddf1f5389c9f59"
>  SRCREV_meta ?= "770996a263e22562c81f48fde0f0dc647156abce"
>
>  SRC_URI = "git://
> git.yoctoproject.org/linux-yocto-4.4.git;name=machine;branch=${KBRANCH}; \
> -           git://
> git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}
> "
> +           git://
> git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.4;destsuffix=${KMETA}
> \
> +           file://0001-Fix-qemux86-pat-issue.patch \
> +           "
>
>  LINUX_VERSION ?= "4.4.3"
>
> @@ -41,4 +43,3 @@ KERNEL_FEATURES_append_qemux86=" cfg/sound.scc
> cfg/paravirt_kvm.scc"
>  KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
>  KERNEL_FEATURES_append = " ${@bb.utils.contains("TUNE_FEATURES", "mx32",
> " cfg/x32.scc", "" ,d)}"
>
> -SRC_URI_append = " file://0001-Fix-qemux86-pat-issue.patch"
> --
> 2.5.5
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160331/10d02f8b/attachment-0002.html>


More information about the Openembedded-core mailing list