From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6621782831461826560 X-Received: by 2002:a50:b361:: with SMTP id r30-v6mr355181edd.2.1542191969587; Wed, 14 Nov 2018 02:39:29 -0800 (PST) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:fb93:: with SMTP id e19-v6ls3285013edq.4.gmail; Wed, 14 Nov 2018 02:39:29 -0800 (PST) X-Google-Smtp-Source: AJdET5eDBelIZgKzEd+yZPjXkvSJCbu1TB9Fe8hnFfmHPJD8Gf95ZHHeCBcLrrnGjB+7Ml4WdJ7K X-Received: by 2002:a50:90f5:: with SMTP id d50mr342763eda.9.1542191969086; Wed, 14 Nov 2018 02:39:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542191969; cv=none; d=google.com; s=arc-20160816; b=oay3V85SBlG1t9M7UeflBqYo8IMlHIU1iSA2abQHUVnMl5gsxKMYpNEoGPy24Lm9xC ANPinG7Y7+DnS1m1c+aIJdg59/Ie6Vq+ft7jfsAEo7gqG+6icXWI8/ayvnwNf9VagNDb xghNgExlzw6mhFMFkmrcvJqc9ddPqniARA8tl1OC3SjF8858VcC70Kn7csXIc6qqmpXL 4m7MlN/3Btj7x3sRgk9Yk2KcZiNBD4hPZGjlP7re6R7f+5oCENsXSlkbKYV3Gk4pH57X 61bZR0I9m6BsL2nDCnQNwtC5ZwcK18oDHnDSLMVWaMWClTwjSYMIELdl75hPKRDyQIQA NMuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:organization:from:references:cc:to :subject; bh=rrKWm9S+rmsYd4MFokvpnWS+OLQVcL86+frOQqAEBt4=; b=LZ94aGoFUB3TYBFR46aeDZnUEkxXBAAuTU2WQ9niH+sNzmx62bHdm1DDIS0zJw7Z1p 8ASpHy8WwKGRDGeXSCkMrICRB9L2SeZ5touaa7it/3RAzEC6QQUQZZtiM/8R4vf5jugb BLpqPej8sm2CTrEmlcj3ZBYK69k4/YGLkDDwqzwYRoBN1CX6kGUeapH9132LPKg9/Lz3 95OqL83IJdSpC3ZjdXLhN1EktS9p8DANTim4dBhfyusckACmDZU1SympYrlBnJmRCpMM dxsp/cwWeFIQA4OzBWOXNhGxeaW2guYbJ/hYtqqACG9HDELnxMy8v/TGfx7AYoUPhg1s pO7w== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Return-Path: Received: from aqmola.ilbers.de (aqmola.ilbers.de. [85.214.62.211]) by gmr-mx.google.com with ESMTPS id a3si154947eda.0.2018.11.14.02.39.28 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Nov 2018 02:39:28 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) client-ip=85.214.62.211; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: best guess record for domain of mosipov@ilbers.de designates 85.214.62.211 as permitted sender) smtp.mailfrom=mosipov@ilbers.de Received: from [192.168.0.18] ([46.39.55.10]) (authenticated bits=0) by aqmola.ilbers.de (8.14.4/8.14.4/Debian-4+deb7u1) with ESMTP id wAEAdQ00030289 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 14 Nov 2018 11:39:27 +0100 Subject: Re: [PATCH v2 2/2] meta: Set LAYERSERIES_* variables To: Jan Kiszka , "[ext] Henning Schild" Cc: isar-users@googlegroups.com References: <20181109085903.8299-1-mosipov@ilbers.de> <20181109085903.8299-3-mosipov@ilbers.de> <20181114082047.22c98905@md1za8fc.ad001.siemens.net> From: "Maxim Yu. Osipov" Organization: ilbers GmbH Message-ID: Date: Wed, 14 Nov 2018 13:39:20 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: oHlVjKfz2yaw On 11/14/18 1:15 PM, Jan Kiszka wrote: > On 14.11.18 08:20, [ext] Henning Schild wrote: >> Hi, >> >> similar changes will have to be applied to custom layers. So an entry >> in RECIPE-API-CHANGELOG.md would be a good idea. >> > > We definitely need better understanding here. I just played with the > latest version, and it now asks me to define LAYERSERIES_COMPAT_mylayer > - so far, so clear. Now I'm having already dependencies on latest and > greatest Isar in my layer so that I added > > LAYERSERIES_COMPAT_mylayer = "v0.7" > > to express that I actually need >v0.6. But that breaks the build: > > ERROR: Layer mylayer is not compatible with the core layer which only > supports these series: v0.6 (layer is compatible with v0.7) > > Should we have now > > LAYERSERIES_CORENAMES = "v0.6 v0.7" > > in Isar? Or something like > > LAYERSERIES_CORENAMES = "v0.6 next" > > ? Well... v.07 doesn't yet exist, but we have to express the fact that we are on the latest tree (similar to Debian's 'sid' DISTRO_NAME). I vote for the 'next'. I'll prepare the patch together with description in RECIPE-API-CHANGELOG.md as Henning suggested in previous email. Regards, Maxim. FYI: Latest reference manual (https://www.yoctoproject.org/docs/2.5.1/ref-manual/ref-manual.html#var-LAYERSERIES_COMPAT). defines LAYERSERIES_COMPAT: <<< Lists the versions of the OpenEmbedded-Core for which a layer is compatible. Using the LAYERSERIES_COMPAT variable allows the layer maintainer to indicate which combinations of the layer and OE-Core can be expected to work. The variable gives the system a way to detect when a layer has not been tested with new releases of OE-Core (e.g. the layer is not maintained). To specify the OE-Core versions for which a layer is compatible, use this variable in your layer's conf/layer.conf configuration file. For the list, use the Yocto Project Release Name (e.g. sumo). To specify multiple OE-Core versions for the layer, use a space-separated list: LAYERSERIES_COMPAT_layer_root_name = "sumo rocko" Note Setting LAYERSERIES_COMPAT is required by the Yocto Project Compatible version 2 standard. The OpenEmbedded build system produces a warning if the variable is not set for any given layer. See the "Creating Your Own Layer" section in the Yocto Project Development Tasks Manual. >>>> > Jan > >> Henning >> >> Am Fri, 9 Nov 2018 09:59:03 +0100 >> schrieb "Maxim Yu. Osipov" : >> >>> Fix warnings after update to the latest bitbake. >>> >>> Signed-off-by: Maxim Yu. Osipov >>> --- >>>   meta-isar/conf/layer.conf | 1 + >>>   meta/conf/layer.conf      | 3 +++ >>>   2 files changed, 4 insertions(+) >>> >>> diff --git a/meta-isar/conf/layer.conf b/meta-isar/conf/layer.conf >>> index 4aa1cf1..bc26516 100644 >>> --- a/meta-isar/conf/layer.conf >>> +++ b/meta-isar/conf/layer.conf >>> @@ -14,6 +14,7 @@ BBFILE_PRIORITY_isar = "5" >>>   # This should only be incremented on significant changes that will >>>   # cause compatibility issues with other layers >>>   LAYERVERSION_isar = "3" >>> +LAYERSERIES_COMPAT_isar = "v0.6" >>>   LAYERDIR_isar = "${LAYERDIR}" >>> diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf >>> index ab6ae8e..ec34d85 100644 >>> --- a/meta/conf/layer.conf >>> +++ b/meta/conf/layer.conf >>> @@ -11,8 +11,11 @@ BBFILE_COLLECTIONS += "core" >>>   BBFILE_PATTERN_core = "^${LAYERDIR}/" >>>   BBFILE_PRIORITY_core = "5" >>> +LAYERSERIES_CORENAMES = "v0.6" >>> + >>>   # This should only be incremented on significant changes that will >>>   # cause compatibility issues with other layers >>>   LAYERVERSION_core = "1" >>> +LAYERSERIES_COMPAT_core = "v0.6" >>>   LAYERDIR_core = "${LAYERDIR}" >> > -- Maxim Osipov ilbers GmbH Maria-Merian-Str. 8 85521 Ottobrunn Germany +49 (151) 6517 6917 mosipov@ilbers.de http://ilbers.de/ Commercial register Munich, HRB 214197 General Manager: Baurzhan Ismagulov