From patchwork Mon Jan 13 23:31:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 55462 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 DFA05C02186 for ; Mon, 13 Jan 2025 23:37:59 +0000 (UTC) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by mx.groups.io with SMTP id smtpd.web11.32932.1736811471354905395 for ; Mon, 13 Jan 2025 15:37:51 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=V9jyNEtq; spf=pass (domain: gmail.com, ip: 209.85.221.50, mailfrom: adrian.freihofer@gmail.com) Received: by mail-wr1-f50.google.com with SMTP id ffacd0b85a97d-38a8b17d7a7so2499649f8f.2 for ; Mon, 13 Jan 2025 15:37:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736811469; x=1737416269; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ov2Ya6gYP+3Sl0IaRwWZLdaSL6ePcsVI9JVcLR0rRsY=; b=V9jyNEtqfBU9pwWHZ0ZamRyx0ebwYCa/OmH9sonxFlDR7Fe/1Q9nhGIjFBHrgS4LkW Y1WraWfRpFkYrH+Z99yMDSMV0t2pfimCdMUtY7T0Rv9vEM2Qa5iCpJ6ha1bHFrG0HaZ1 nygGFP2N7/RSe1mqmO78FkjSPkYhahZwj8+nD3LOMUKy55oFuwicpEU9c5dJQsei3GCs 3cf7G7a+kCDHrYjTL6JrhbtjDPyA2DgJeZbFWZhSAq9ki4/+BjuFRSEJv1VMfHoc59tc UVXhOTn1foluIEqUNJ2ZS6FwIDpITkqvoRrw/u+IPQf/Pf8qH4J3L3b8FEr0jKYjn1bz aAkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736811469; x=1737416269; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ov2Ya6gYP+3Sl0IaRwWZLdaSL6ePcsVI9JVcLR0rRsY=; b=woTm/1PfWvaOxoVCYNjhvmO8uABXbZ7ZstcbL3HR/RxHeLa7LbZGiQtQjtJDPcPzfX bZudpWwcAcoxz7J3WWE1UByF5gE6JyrB8EYtIdSOWaJOQgpd0J70O8pNQ495fl8/rnyX hZKTOqcH6sFpdEwZPyJhjIUKhm4m4M2No1qixML2w8VasvTYasZGEYovMGv0+TueZfus XikrGH+inKLqBg2Ja/JLWltiIvArmxbQKAe/dJyuimX+lULs3BYit+/zlOzwz8XHtfGk GqjIEHpcDuLeeIxhaPpOntwica+oqYirjDs0pfJfV9Gr5mzijDB2EwsXv4SxDWulEQBF 3mkQ== X-Gm-Message-State: AOJu0YxR4a9z0yK8vMskw/8OkdM+yOvUUQloEdqmFaogT2ZLkHdBbHiA H5p0/66UKJSt+p0B9qxRTjKL5dzbfM/BLSerxMlbhPP0DnHOtzLQ5cTYy7kH X-Gm-Gg: ASbGncvGNIiXBEv/L/0Rp1CxEcx9OFvKr+QsfzTQZDCdxJaJXnhvE0lOXpAIzALMWhp 23Dyy1UR8N+oH2oWss1C8fgUipcQ69AoEtEe9r24F/VZIC4qOQmadpiOpJmV6B8DYq1iW8e2FQ+ 4n2Uctz1azqbrzBEsC2hPrjFpL4k7ODVNTZ4ZeaXl++IjyGttLACRSe4f+1NnPZi9m7rF4My9AF I1zF0ABhWtsM28Dz0mcIkbfMOYbZHyIY+KfoAnu0Tda2KzmTFKqQu+Ahh03WOdEX6rI+ngBYB53 evw= X-Google-Smtp-Source: AGHT+IHBzqYVlx4+3GBEeZbhy9lJKHM7irxmXKZyE2XE9WWDBuvlaAUHh6ZrJ6e3Cmihwlja/+HqWw== X-Received: by 2002:a05:6000:1849:b0:386:2ebe:7ae2 with SMTP id ffacd0b85a97d-38a8733df9emr22436857f8f.45.1736811469475; Mon, 13 Jan 2025 15:37:49 -0800 (PST) Received: from wsadrian16.fritz.box ([2a02:169:59a6:0:55c4:f628:91f3:4287]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38bddbf50a2sm2898727f8f.43.2025.01.13.15.37.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2025 15:37:49 -0800 (PST) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: docs@lists.yoctoproject.org Cc: Adrian Freihofer , Adrian Freihofer Subject: [PATCH v3 1/3] migration-guides: systemd.bbclass do not add Also services for 5.2 Date: Tue, 14 Jan 2025 00:31:16 +0100 Message-ID: <20250113233736.4181201-2-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250113233736.4181201-1-adrian.freihofer@siemens.com> References: <20250113233736.4181201-1-adrian.freihofer@siemens.com> 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 ; Mon, 13 Jan 2025 23:37:59 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6095 From: Adrian Freihofer Covers the chagnes introduced by commit https://git.yoctoproject.org/poky/commit/?id=efa5f65c2214239ed7aaf7bd8998683e755c5660 Signed-off-by: Adrian Freihofer --- .../migration-guides/migration-5.2.rst | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst index cb70e19da0c..0e0566fa6f3 100644 --- a/documentation/migration-guides/migration-5.2.rst +++ b/documentation/migration-guides/migration-5.2.rst @@ -74,6 +74,26 @@ systemd changes As a consequence, the ``systemd`` recipe no longer contains the ``usrmerge`` :term:`PACKAGECONFIG` option as it is now implied by default. +- ``systemd.bbclass``: If a systemd ``service`` file had referred to other service + files by starting them as + `Also `__, + the other service files were automatically added to the :term:`FILES` variable of + the same package. Example: + + a.service contains:: + + [Install] + Also=b.service + + If ``a.service`` is packaged in package ``A``, ``b.service`` is automatically + packaged into package ``A`` as well. This happens even if ``b.service`` is + explicitly added to package B using :term:`FILES` and :term:`SYSTEMD_SERVICE` + variables. + This prevents such services from being packaged into different packages. + Therefore, this automatic behavior has been removed for service files (but + not for socket files). + Now all service files must be explicitly added to :term:`FILES`. + Recipe changes ~~~~~~~~~~~~~~ From patchwork Mon Jan 13 23:31:17 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 55461 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 D6544C02183 for ; Mon, 13 Jan 2025 23:37:59 +0000 (UTC) Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) by mx.groups.io with SMTP id smtpd.web10.32768.1736811472862631779 for ; Mon, 13 Jan 2025 15:37:53 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=TpKKL0Sr; spf=pass (domain: gmail.com, ip: 209.85.128.43, mailfrom: adrian.freihofer@gmail.com) Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-435f8f29f8aso35039325e9.2 for ; Mon, 13 Jan 2025 15:37:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736811471; x=1737416271; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JqhyXDLF63DQEMYCKoX1WU8/kbOjoS3pZYIn83cjfoE=; b=TpKKL0SrEogApvcgRe8tHqpWBcd+EWmhAhy1Iuzc1WZTnsAbhen3ICzWoxsh5htvLH FUtsrgFzgPd0fzTpO0Fibhg4PfGAYKD+cdv9+xrWEY4MGD0tEeTPrFN8ycim0VuO7jzL jbnBvcJOCSUBH0VXJ4Q8oqYryZ9OGUOCI/X34FhtwT4fTMhAFxqQ0oAAeJ+8/cKuE8TL LvfN4A7OhyEgNx+J2FZBoDxGLcDUhd3qUl/UBv4jqxhJrbZuUnAxHrW26Am2WCDrPf56 LnNFEfj/kLpK+LOTgvuw04k4ztXAUNtK0HqcAb+eAEifEW/bX3xDu//BOS1pcRIxDMAR uJrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736811471; x=1737416271; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JqhyXDLF63DQEMYCKoX1WU8/kbOjoS3pZYIn83cjfoE=; b=up2sUAHAuu7fXnY7tRsRSILhBiweUiZEqeV7+n1wkmQpROOtSew//lmpp0Cs/75ofq uMX9dsC0FkxVp8CNgLgS0vVAk0kD1DATKSqu+4ARS+m3ZouMLw8iCdvJ9MKuYQCmgaKW bFUeSAUhFvKy5Si9mno/D7p7cQMaDIvgdsVb//Ck0uFUBijc4qfohqKqvqN84Ns8ZUdY +50rr4yP10h7naA2IeqSroXVDkuW4zvpADQxgb8XtyOoa9y9shSYdfzIpMCrGWMSMr1P cMUaeL+/Zcf7VlOFoSFbXMo6LYwyyHkNjXIsNYUvJ8wYqt1NQrg+Y4HUNKa7tJ/qqp58 psVA== X-Gm-Message-State: AOJu0YxA/IuGXamXVg3KcD3ZoNn1SibQw/DrugirRX8JChCsWlhBpLHW 6LKchM2ysHZO/n6dHVqaIrbTEhuj653v1EqWl8+gwipb7nHyP47a+BkKoBiC X-Gm-Gg: ASbGncuTCVay3l3szlQJuTPzrfyVNrPFPwfSwApqqOSkYUrVSPzfKMkkRm7puY6GCpw nzj4UBfPn+WzRzuJB2bqCxKy96QKoTsTIKoVE8JDUWwfgt1AH5epO/5R8KvlZ47o5pQ2/slGFH3 ymqgWzMNH7JXtjlvypq86uCX/NxYe5z5adYFUmpfZJ9r6tt4gTytETO0udSZfU8Sdk/hqOJShfI Zr5V1xGmMMRlqo1wE8OkifTmsUMlVuEk1mh9DkhseHFjezX6I8hQpy5PDGsa2uQ8Mmt2NBgW79C xzQ= X-Google-Smtp-Source: AGHT+IHVGr7d4hZj7CGN1gC0BEmdQijjWdvUu0b1HLarixvlQwfTX0JEO+MZ1k63J8iTY8WAZPNOcw== X-Received: by 2002:a5d:6daf:0:b0:38a:8b2c:53ac with SMTP id ffacd0b85a97d-38a8b2c550emr14636758f8f.42.1736811470901; Mon, 13 Jan 2025 15:37:50 -0800 (PST) Received: from wsadrian16.fritz.box ([2a02:169:59a6:0:55c4:f628:91f3:4287]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38bddbf50a2sm2898727f8f.43.2025.01.13.15.37.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2025 15:37:50 -0800 (PST) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: docs@lists.yoctoproject.org Cc: Adrian Freihofer , Adrian Freihofer Subject: [PATCH v3 2/3] sdk-manual: extensible.rst: update devtool ide-sdk Date: Tue, 14 Jan 2025 00:31:17 +0100 Message-ID: <20250113233736.4181201-3-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250113233736.4181201-1-adrian.freihofer@siemens.com> References: <20250113233736.4181201-1-adrian.freihofer@siemens.com> 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 ; Mon, 13 Jan 2025 23:37:59 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6096 From: Adrian Freihofer Replace devtool ide-sdk --debug-build-config by devtool modify --debug-build This change was introduced with commit https://git.yoctoproject.org/poky/commit/?id=1f7eb26c947dde14698ae6e2ab88f0637027f4cb Signed-off-by: Adrian Freihofer Reviewed-by: Quentin Schulz --- documentation/sdk-manual/extensible.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/documentation/sdk-manual/extensible.rst b/documentation/sdk-manual/extensible.rst index 9a50d7fc54c..3733997fac4 100644 --- a/documentation/sdk-manual/extensible.rst +++ b/documentation/sdk-manual/extensible.rst @@ -669,7 +669,8 @@ The extensible SDK supports two different development modes. IMAGE_INSTALL:append = " my-recipe" Assuming the BitBake environment is set up correctly and a workspace has - been created for the recipe using ``devtool modify my-recipe``, the + been created for the recipe using ``devtool modify my-recipe`` or probably + even better by using ``devtool modify my-recipe --debug-build``, the following command can create the SDK and the configuration for VSCode in the recipe workspace:: @@ -786,8 +787,8 @@ The extensible SDK supports two different development modes. .. code-block:: sh # Create the SDK - devtool modify cmake-example - devtool ide-sdk cmake-example core-image-minimal -c --debug-build-config --ide=none + devtool modify cmake-example --debug-build + devtool ide-sdk cmake-example core-image-minimal -c --ide=none # Install the firmware on a target device or start QEMU runqemu From patchwork Mon Jan 13 23:31:18 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 55460 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 DB9DEC02185 for ; Mon, 13 Jan 2025 23:37:59 +0000 (UTC) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mx.groups.io with SMTP id smtpd.web10.32773.1736811474347219790 for ; Mon, 13 Jan 2025 15:37:54 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=euLk8aau; spf=pass (domain: gmail.com, ip: 209.85.128.53, mailfrom: adrian.freihofer@gmail.com) Received: by mail-wm1-f53.google.com with SMTP id 5b1f17b1804b1-43618283dedso46510155e9.3 for ; Mon, 13 Jan 2025 15:37:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736811472; x=1737416272; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=h69HiAb1DPNqbA11KfY9tg6cMYrctp7TvS57zryS2Qw=; b=euLk8aaujp0IaKPkqWGm4DNOXefIc1/tlq9R96rFboXo2qMmqcSVJvfmoX2qbijMzk uQOsnxcuvI2q+BoGQJ0ZA23BEmwQz5DF4oZP80UArCGgvLAwmmkDJhR1QL4R1mEAvG1H zzZiRNH0fWPz2ZFwuo3I0EssmbZLpjA57y1zvzz/39YO4OgSlmOLtDYWb64QN0nQMKjs d7oLXD96dkjLgha2vVXjoNeuxYETxZYjri2JyJJzWDwDl6Q5qDC5RUXzmNOKWXi7SUh/ xAZF4i8IdyTyMx80X2+2fqMBGAB4uvBh02cp0710CR/MBr5qo4Svc3c9niLTLAIG6Gn+ dW6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736811472; x=1737416272; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h69HiAb1DPNqbA11KfY9tg6cMYrctp7TvS57zryS2Qw=; b=TKTnqALfjHA44e73fiyZkCpCR1+8Rtnvj4jZR+NyLQdxv9LsNYJ7TTRyaXtRIZO1l3 HMr7Kl8xePctk9UwVmaw2dyga/ZI3IC0eKQ3EwCslX5hXcVaRvB/M05AzGpmPy12L+MF 76ZgkFeRMq3ec6SUy7viaYcv2B4F5F/NR2BoQz4PexVHXllkFgJ5CyPnZM0pIxB656H7 oVIMZzjZ3CdVKGB6r7zuU7ZWjDxoFlbTT2ItxwBw5FCsXwfo+o46ynnspP2XLuad7AWs XOJaXrC+z0KVriNfZCKk5djCZ6R6TNv/HhP/LJ7pE34DQzfW8excVe3FQi9NV3dcbyGR 6ezw== X-Gm-Message-State: AOJu0Yz07kMgg+jXRs5/I1d/zllxSIyZ30I/vDQWA++fsf90vpw47Qww K/C9ox/Jzy5Q9h2UJBM8EKfwncdeCkxpBk/DNBcCg9fJXB/8Gqzw9bu+Zusr X-Gm-Gg: ASbGncvBNAzBm9RthVju3OGSiY9HBjxuNjhnZHAedUqFUCwO4Fa5/HHZ7vlyFLpvV6i /9Wle5RFKH8DWTMq0SlnIwWdYzyP88H8jQZprF0zea6PFPRPXjM2ZTjj4l5/+5yiywm+iEaTimm TwibwXH/hUTl9dRd9d43nFSKcMuWhKMZo+tAEE9hCUcEUwG0SLdW96P1EzaAmaavYVYKFr7J7oH qbXSDtpBnbOO+aV8By/HaYpI54felwqrO9l71zlYEwrWcL+o/akbIdaj/mleydNaI+ZO1Q6oRaT d2U= X-Google-Smtp-Source: AGHT+IHiWwHcMu9C1WEQKrAsv7wu7aZ0xlwWjWQgzPwglFzM0bt/A7iRJQv8oGIr4WDHfqzc8fnTQA== X-Received: by 2002:a05:6000:18ac:b0:382:3c7b:9ae with SMTP id ffacd0b85a97d-38a872de120mr21844975f8f.16.1736811472434; Mon, 13 Jan 2025 15:37:52 -0800 (PST) Received: from wsadrian16.fritz.box ([2a02:169:59a6:0:55c4:f628:91f3:4287]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38bddbf50a2sm2898727f8f.43.2025.01.13.15.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2025 15:37:52 -0800 (PST) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: docs@lists.yoctoproject.org Cc: Adrian Freihofer , Adrian Freihofer Subject: [PATCH v3 3/3] sdk-manual: extensible.rst: remove confusing post-install-logging Date: Tue, 14 Jan 2025 00:31:18 +0100 Message-ID: <20250113233736.4181201-4-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250113233736.4181201-1-adrian.freihofer@siemens.com> References: <20250113233736.4181201-1-adrian.freihofer@siemens.com> 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 ; Mon, 13 Jan 2025 23:37:59 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6097 From: Adrian Freihofer This is a fix for 22dc5b3be3b1fbdb9447999b71f79db055271826, which has completely replaced debug-tweaks. But in the context of devtool ide-sdk and the comment in the example, the post-install-logging-image feature doesn't really make much sense. Therefore, remove it. Signed-off-by: Adrian Freihofer --- documentation/sdk-manual/extensible.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/documentation/sdk-manual/extensible.rst b/documentation/sdk-manual/extensible.rst index 3733997fac4..1cb1bb47c2c 100644 --- a/documentation/sdk-manual/extensible.rst +++ b/documentation/sdk-manual/extensible.rst @@ -658,7 +658,6 @@ The extensible SDK supports two different development modes. allow-empty-password \ allow-root-login \ empty-root-password \ - post-install-logging \ " # Remote debugging needs gdbserver on the target device