poky-alt: don't use conditional assignment for preferred kernel version

The include of poky.conf already sets a preferred kernel version, so the
one in the alt-config won't have any impact.

This normally isn't a problem, but when we are introducing a new kernel
that doesn't yet have compatibility with all machines, it throws warnings.

 WARNING: preferred version 5.10% of linux-yocto not available (for item kernel-module-x-tables)
 WARNING: versions of linux-yocto available: 5.4.69+gitAUTOINC+1c358e1969_cfcdd63145 5.8.13+gitAUTOINC+b976de4f41_5981001bf0

(From meta-yocto rev: a7b41f311eb79a2a112a75160b6d557029ca9904)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bruce Ashfield
2020-12-22 12:09:47 -05:00
committed by Richard Purdie
parent 2fa1648470
commit 4c577733f1

View File

@@ -2,7 +2,7 @@
DISTRO_FEATURES_append = " pam"
# Use the LTSI Kernel
PREFERRED_VERSION_linux-yocto ?= "5.4%"
PREFERRED_VERSION_linux-yocto = "5.4%"
# Ensure the kernel nfs server is enabled
KERNEL_FEATURES_append_pn-linux-yocto = " features/nfsd/nfsd-enable.scc"