From patchwork Tue Jun 20 14:00:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 26050 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id B7342EB64D7 for ; Tue, 20 Jun 2023 14:01:06 +0000 (UTC) Received: from mail-wr1-f49.google.com (mail-wr1-f49.google.com [209.85.221.49]) by mx.groups.io with SMTP id smtpd.web10.11149.1687269656387341291 for ; Tue, 20 Jun 2023 07:00:56 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@linuxfoundation.org header.s=google header.b=QIN88IjX; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.49, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-3113dabc549so3052985f8f.1 for ; Tue, 20 Jun 2023 07:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1687269654; x=1689861654; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=lNlkRJ40taOa/ErigyI2T3El1cq7oPbGiRgynWZXU1g=; b=QIN88IjXPLR6Ob8pQYWzrHRNvQlQBFhoU+/lcviESwcmLatvO26o+Wj6U2Q/enrPjf K1GSPy7GM2WISGH+LptJBN/P9fMMeTEYAXmVeLQXMsGH+11Sa3RPo2lXdJLYMOZxPygp neMK3WKK5NR9ApCM75KWaGhlm2lAGbPYqnt6I= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687269654; x=1689861654; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=lNlkRJ40taOa/ErigyI2T3El1cq7oPbGiRgynWZXU1g=; b=Es7T6i2IJiJzXT4RbLzVR4yimjqiK75qi28Mzj/xfSJjpxQhYz7HmLksHqe0Qp2q40 HhyyjGCdK6f/9+TvvN2PlEPNziDcH4GEjP3G0X7x2wVTfJitVKEPCqrdoEbZHnNdQi+G npOwWmhP9Cu/X9yCm9GyvJtS4dq/yPIUN0ynlLTefAZqWIEf00966qOLMnTtJYm/hoYu nthNs9roQkf6xkmWV+QSYTWZB2YBqD/yIXggwpJOUWlKworw9U1Nqus8mSbbxTN4r5Pt DHs84HDn6kKhxwrrEAfaJMaOAvBV/U+X72muvpdwQooClTNzvC6yMKmJm1Mcm8pxq9r3 +1tQ== X-Gm-Message-State: AC+VfDw5a1CSuS6VB03ghiaIgHY21uyj379JDmaatrcsaSCj3u9Fyrau vxncnDM+E7KY1lZWDKN+HKoUyBzGYHwxvnyi1k8= X-Google-Smtp-Source: ACHHUZ6zKeJFvuggYD8p4s9No5zgmzmoDXAGIUgnDzkvyJU7mFFk3fOe9+IzGVgGSYVJbYl/FecTAA== X-Received: by 2002:adf:e986:0:b0:30f:c767:68c2 with SMTP id h6-20020adfe986000000b0030fc76768c2mr10543947wrm.54.1687269654274; Tue, 20 Jun 2023 07:00:54 -0700 (PDT) Received: from max.int.rpsys.net ([2001:8b0:aba:5f3c:dcd0:3b81:1cae:b795]) by smtp.gmail.com with ESMTPSA id s6-20020adfea86000000b0030ae3a6be5bsm2059307wrm.78.2023.06.20.07.00.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 07:00:53 -0700 (PDT) From: Richard Purdie To: docs@lists.yoctoproject.org Subject: [PATCH 1/2] migration-guide: Add notes on FILE_LAYERNAME Date: Tue, 20 Jun 2023 15:00:52 +0100 Message-Id: <20230620140053.2802542-1-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 20 Jun 2023 14:01:06 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/4011 Signed-off-by: Richard Purdie --- documentation/migration-guides/migration-4.3.rst | 10 ++++++++++ documentation/migration-guides/release-notes-4.3.rst | 12 ++++++++++++ 2 files changed, 22 insertions(+) diff --git a/documentation/migration-guides/migration-4.3.rst b/documentation/migration-guides/migration-4.3.rst index c2e5699cc..e72967bf3 100644 --- a/documentation/migration-guides/migration-4.3.rst +++ b/documentation/migration-guides/migration-4.3.rst @@ -26,6 +26,16 @@ no longer the default supported configuration. This setting does not affect whic kernel versions SDKs will run against and does not affect which versions of the kernel can be used to run builds. +Layername override implications +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Code can now know which layer a recipe is coming from through the newly added +:term:`FILE_LAYERNAME` variable and the layer- override. This is being used +for enabling QA checks on a per layer basis. For existing code this has the +side effect that the QA checks will apply to things being bbappended to recipes +from other layers. Those other layers would need to have patch upstream status +entries for patches being bbappended for example. + .. _migration-4.3-supported-distributions: Supported distributions diff --git a/documentation/migration-guides/release-notes-4.3.rst b/documentation/migration-guides/release-notes-4.3.rst index d782a5917..24295f633 100644 --- a/documentation/migration-guides/release-notes-4.3.rst +++ b/documentation/migration-guides/release-notes-4.3.rst @@ -17,6 +17,18 @@ New Features / Enhancements in 4.3 - :term:`KERNEL_DTBVENDORED`: whether to keep vendor subdirectories. + - :term:`FILE_LAYERNAME`: bitbake now sets this to the name of the layer containing the recipe + +- Layername functionality available through overrides + + Code can now know which layer a recipe is coming from through the newly added FILE_LAYERNAME + variable. This has been added as an override of the form layer-. In particular, + this means QA checks can now be layer specific, for example:: + + ERROR_QA:layer-core:append = " patch-status" + + which will enable the patch-status QA check for the core layer. + - Architecture-specific enhancements: - Kernel-related enhancements: From patchwork Tue Jun 20 14:00:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Purdie X-Patchwork-Id: 26049 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BBBF1EB64DB for ; Tue, 20 Jun 2023 14:01:06 +0000 (UTC) Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by mx.groups.io with SMTP id smtpd.web10.11150.1687269656684430456 for ; Tue, 20 Jun 2023 07:00:56 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@linuxfoundation.org header.s=google header.b=ACA9ujOI; spf=pass (domain: linuxfoundation.org, ip: 209.85.221.43, mailfrom: richard.purdie@linuxfoundation.org) Received: by mail-wr1-f43.google.com with SMTP id ffacd0b85a97d-312826ffedbso493916f8f.0 for ; Tue, 20 Jun 2023 07:00:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=google; t=1687269655; x=1689861655; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=zXeOG8r7GTXxe2EfqaTjfcB3Yk+8RbDtHQBfqM7sVEI=; b=ACA9ujOIgvpfke+vQMghYnonIRtmxaTxKhLb5KZiaQ3BwK8buYqJ9Ea9jSvb9YeTyV FP6onSpOcDhWm9iljb/3F491eJaSwqJjM4GdRaNxWWU3V5vDN4v0V9xebZjER0/Q4tHZ QxTbClbISEAYZ476n2uqi4nqp7z7hckK7uBl8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687269655; x=1689861655; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zXeOG8r7GTXxe2EfqaTjfcB3Yk+8RbDtHQBfqM7sVEI=; b=JRTs6MfGXrtJ15ydBdpHPrtA05M8Ghev7bgnp7TqczGXutQ8J0cEjkt6dkVW4uyEtJ ZtZjn6uJi7fNHOSVIluxb2SK6hC9Oe+RvI6AmiWE0nbtkIclwKtIS7LjAls+Il0R+oqx 6m7hafBL0ikVhOsAHGr4jb6GeYPKx7WsEajPNGaxceIS07TgNZYKTsu7kLD1Hgm8Kqjv wJHPidxo8hqtN3Y5scJeWZMzrLh+s+UYKA8aNl/t14p9zi6NPoJDdLWj0otRXolWNdpz keJiRX+kXS+30/QSr57z7LPY6BRtwFXWDNXvFqbdSf42NHjK4iXh0SmWqBefrgB+K+Pl QdEg== X-Gm-Message-State: AC+VfDxar1+5HELLWEkdcH9NZgqlzYh+1ewm65RFsZxzShP06bPTNht8 vVgqgBsb60cvEHDaGb4aHF3GJbdJvwillq7SJ/4= X-Google-Smtp-Source: ACHHUZ7dvuaY0kBh24os1YTkLyOiaBU6PwtRhSTqFRj5/ciCTFAK+W80uebIvuiaWmTodMlh1b49Fw== X-Received: by 2002:a5d:6685:0:b0:30f:bc92:a537 with SMTP id l5-20020a5d6685000000b0030fbc92a537mr8249174wru.33.1687269655009; Tue, 20 Jun 2023 07:00:55 -0700 (PDT) Received: from max.int.rpsys.net ([2001:8b0:aba:5f3c:dcd0:3b81:1cae:b795]) by smtp.gmail.com with ESMTPSA id s6-20020adfea86000000b0030ae3a6be5bsm2059307wrm.78.2023.06.20.07.00.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Jun 2023 07:00:54 -0700 (PDT) From: Richard Purdie To: docs@lists.yoctoproject.org Subject: [PATCH 2/2] migration-guide: Add notes on systemd/usrmerge changes Date: Tue, 20 Jun 2023 15:00:53 +0100 Message-Id: <20230620140053.2802542-2-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230620140053.2802542-1-richard.purdie@linuxfoundation.org> References: <20230620140053.2802542-1-richard.purdie@linuxfoundation.org> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 20 Jun 2023 14:01:06 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/4012 Signed-off-by: Richard Purdie --- documentation/migration-guides/migration-4.3.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/documentation/migration-guides/migration-4.3.rst b/documentation/migration-guides/migration-4.3.rst index e72967bf3..74cc6354c 100644 --- a/documentation/migration-guides/migration-4.3.rst +++ b/documentation/migration-guides/migration-4.3.rst @@ -55,6 +55,13 @@ Go language changes - Support for the Glide package manager has been removed, as ``go mod`` has become the standard. +Systemd changes +~~~~~~~~~~~~~~~ + +Upstream systemd is now more strict on filesystem layout and the usrmerge +feature is therefore required alongside systemd. The Poky test configurations +have been updated accordingly for systemd. + .. _migration-4.3-recipe-changes: Recipe changes