[poky] [PATCH] [jethro] yocto-bsp: fix default kernel for x86_64 arch

Ibarra Lopez, Humberto humberto.ibarra.lopez at intel.com
Thu Apr 7 13:03:45 PDT 2016


Forgot to copy Robert Yang.

> -----Original Message-----
> From: Ibarra Lopez, Humberto
> Sent: Tuesday, April 5, 2016 7:18 PM
> To: poky at yoctoproject.org
> Cc: Ibarra Lopez, Humberto <humberto.ibarra.lopez at intel.com>
> Subject: [PATCH] [jethro] yocto-bsp: fix default kernel for x86_64 arch
> 
> When using x86_64 arch in yocto-bsp the script suggests
> 4.1 as the default kernel version; however, as soon as the default is picked
> the script continues processing with
> 3.19 kernel.
> 
> This changes the default kernel version to 4.1, which is the right value and
> matches the script's message.
> 
> [Yocto #9353]
> 
> Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez at intel.com>
> ---
>  .../target/arch/x86_64/recipes-kernel/linux/kernel-list.noinstall       | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-
> kernel/linux/kernel-list.noinstall
> b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/kernel-
> list.noinstall
> index dbbe934..7676ca8 100644
> --- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-
> kernel/linux/kernel-list.noinstall
> +++ b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/
> +++ kernel-list.noinstall
> @@ -2,4 +2,4 @@
>  {{ input type:"boolean" name:"use_default_kernel" prio:"10" msg:"Would
> you like to use the default (4.1) kernel? (y/n)" default:"y"}}
> 
>  {{ if kernel_choice != "custom" and use_default_kernel == "n": }} -{{ input
> type:"choicelist" name:"kernel_choice" gen:"bsp.kernel.kernels" prio:"10"
> msg:"Please choose the kernel to use in this BSP:" default:"linux-
> yocto_3.19"}}
> +{{ input type:"choicelist" name:"kernel_choice"
> +gen:"bsp.kernel.kernels" prio:"10" msg:"Please choose the kernel to use
> +in this BSP:" default:"linux-yocto_4.1"}}
> --
> 2.1.4



More information about the poky mailing list