From 045be9ae11194eddbdae242b58996cc1f6ae7e72 Mon Sep 17 00:00:00 2001 From: Martin Jansa Date: Fri, 10 Aug 2018 15:28:29 +0000 Subject: [PATCH] layer.conf: add rocko to LAYERSERIES_COMPAT_ros-layer * meta-ros is compatible with Yocto 2.4 Rocko without any special handling needed to integrate it, mark it as compatible * LAYERSERIES_COMPAT variables are used only since 2.4 Rocko, so with even older Yocto releases this isn't an issue, but with 2.4 it was failing with: bitbake -e zlib | tee env.zlib ERROR: Unable to start bitbake server which isn't really useful, bitbake-cookerdaemon.log shows better explanation: Traceback (most recent call last): File "build-rocko/bitbake/lib/bb/cookerdata.py", line 285, in parseBaseConfiguration self.data = self.parseConfigurationFiles(self.prefiles, self.postfiles) File "build-rocko/bitbake/lib/bb/cookerdata.py", line 399, in parseConfigurationFiles % (c, " ".join(layerseries), " ".join(compat))) File "build-rocko/bitbake/lib/bb/__init__.py", line 104, in fatal raise BBHandledException() bb.BBHandledException During handling of the above exception, another exception occurred: Traceback (most recent call last): File "build-rocko/bitbake/lib/bb/daemonize.py", line 77, in createDaemon function() File "build-rocko/bitbake/lib/bb/server/process.py", line 433, in _startServer self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset) File "build-rocko/bitbake/lib/bb/cooker.py", line 197, in __init__ self.initConfigurationData() File "build-rocko/bitbake/lib/bb/cooker.py", line 356, in initConfigurationData self.databuilder.parseBaseConfiguration() File "build-rocko/bitbake/lib/bb/cookerdata.py", line 318, in parseBaseConfiguration raise bb.BBHandledException bb.BBHandledException ERROR: Layer ros-layer is not compatible with the core layer which only supports these series: rocko (layer is compatible with sumo) * and it's a bit complicated to override LAYERSERIES_COMPAT_ros-layer from local build without meta-ros modification, changing it in some other (own) layer, which is parsed after meta-ros works, but you might not have suitable layer for this. Signed-off-by: Martin Jansa --- conf/layer.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/layer.conf b/conf/layer.conf index 9887f99..9200dc4 100644 --- a/conf/layer.conf +++ b/conf/layer.conf @@ -10,6 +10,6 @@ BBFILE_PRIORITY_ros-layer = "7" LICENSE_PATH += "${LAYERDIR}/licenses" -LAYERSERIES_COMPAT_ros-layer = "sumo" +LAYERSERIES_COMPAT_ros-layer = "rocko sumo" ROSDISTRO := "indigo"