From 5cc6103cc360156bd4741197ed8e6177ca83c3e1 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 31 Jul 2014 16:48:00 +0200 Subject: [PATCH] sysmocom-bsc: Further simplify the selection of the kernel Only on Edison we are stuck with the 'linux' kernel. In Dora and later we will simply use the linux-sysmocom kernel. --- conf/machine/sysmocom-bsc.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/machine/sysmocom-bsc.conf b/conf/machine/sysmocom-bsc.conf index 93b46ea..49b5d30 100644 --- a/conf/machine/sysmocom-bsc.conf +++ b/conf/machine/sysmocom-bsc.conf @@ -8,7 +8,7 @@ PREFERRED_PROVIDER_virtual/libgl = "mesa-dri" PREFERRED_PROVIDER_virtual/libx11 ?= "libx11-trim" PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xf86-dri-lite" PREFERRED_PROVIDER_virtual/xserver-xf86 ?= "xserver-xf86-dri-lite" -PREFERRED_PROVIDER_virtual/kernel = "${@ dict([('1.5','linux-sysmocom'), ('1.1','linux')])[d.getVar('DISTRO_VERSION', True)[0:3]]}" +PREFERRED_PROVIDER_virtual/kernel = "${@['linux-sysmocom', 'linux']['1.1' in d.getVar('DISTRO_VERSION', True)]}" require conf/machine/include/tune-geode.inc