From patchwork Tue Dec 24 14:02:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 54676 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 03717E7718E for ; Tue, 24 Dec 2024 14:03:14 +0000 (UTC) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) by mx.groups.io with SMTP id smtpd.web10.33680.1735048987595683657 for ; Tue, 24 Dec 2024 06:03:07 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Hj9NpRqT; spf=pass (domain: gmail.com, ip: 209.85.128.48, mailfrom: adrian.freihofer@gmail.com) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-43635796b48so31810585e9.0 for ; Tue, 24 Dec 2024 06:03:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735048986; x=1735653786; 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=F0L7X1YHRJ7NW10dvgt07ZSFG0FSho7O/bbzeH/BfLI=; b=Hj9NpRqTSYCRdS6mkyrPxv3BOfU6i1MTi1bxDO6KnYFdTTImGtEyRScCrdjLWTB76p dtnDxyOyMq1FuGt+ZYWggWgDrikC5vMLu81kLePtBOmuoiOUoD1N44Rt5KdeDLgPmGzP wzKU6Wix1CTkumB2PlqSJMxspr9KZhFz2WyZ70c/RMLU1rZiOW18P21Yo1aTTb+GBT6k JniOBO+QxREy73AGYAgOrLTmpg/+zxKTzGrofr6Z1drpdltHJAL3i/G6OxieUymi5zuU MNzm2GoQv3+VOze3BGuDe9SyMrEpZ/JmgOMgCQxihIxTRzKf4x/v8/2gxUusbA/rpR8n 5+yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735048986; x=1735653786; 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=F0L7X1YHRJ7NW10dvgt07ZSFG0FSho7O/bbzeH/BfLI=; b=ngerXAxj7YsvEioNhp7OuBK0tdR7qsS///gLAZRW+RDAySZQBAxkF/WMGbJCJkoplJ G3UZ9c346vrBkd1d1X2OQa9+zAMD6AvTCEFkbGG3DkuOf41MZxmk8aAjRmcYrEVhBZtK cJHa3MAY65T/NtYQarOmM1/kG/Jyl1g1HwNI49Q0acQw2/J741CFyvymLePDpyTh/bUY 4HsqUvo+BoLqGKDaAVHsndarQ/nEITN+6A85wRv4ywxfXpiITDRcnSI0DlrpSitAOOeL bj6y7gUA97Ylc23Q+HZKgKlcardsgXFq7eJw72bmqOL1jNGGr9hAr1L7U+iXwQWH9IKA GxcQ== X-Gm-Message-State: AOJu0YwoF7WsmQ2eJzQz7pViwRVCfhFLeSrEEm28AKdYqxjilVYR7tfJ 69rxBl8I2y3OKxAdNxiacGTNwV2X19F3m5QMbALoOjQ0SwctOtbx1/Zy8A== X-Gm-Gg: ASbGncuPY+4oPLn1GPYwdARwILuDnsr+gXuCQXYNdx7WwooY9RgLCffsWm8m8QkktKJ Gxj65zmH9d+cT/oFEuBVz2bByssn7C44r5kGh2k7qIG8S35q3Wp9FnS5tPayxHXQDHYKHym63kG P/yLlTTntFrDkZ0j2oIftzTpGZUBON3E0A/93UyNGHC16TPNDwpS468HoTBOZViJhLC/qNREuph YjCUOq0+GLyhXT9tV8JrqLoXoSgQPq2e6dJJp69notyzDTGsNIyyURUIDb2132xGxOB50veNS4I jq72 X-Google-Smtp-Source: AGHT+IGqF2/CGnJcj0/+xcfqP4ZWb8IH6gaOZJRXJF+twKG1vfkzmxOcm84wFkvjjAuAiA8o//hmvg== X-Received: by 2002:a7b:cc0f:0:b0:436:1b77:b5aa with SMTP id 5b1f17b1804b1-4365c775154mr180876385e9.8.1735048985522; Tue, 24 Dec 2024 06:03:05 -0800 (PST) Received: from wsadrian16.fritz.box ([2a02:169:59a6:0:55c4:f628:91f3:4287]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c847214sm14204033f8f.46.2024.12.24.06.03.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2024 06:03:04 -0800 (PST) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: docs@lists.yoctoproject.org Cc: Adrian Freihofer Subject: [PATCH 1/3] migration-guides: systemd.bbclass do not add Also services for 5.2 Date: Tue, 24 Dec 2024 15:02:14 +0100 Message-ID: <20241224140251.24389-2-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241224140251.24389-1-adrian.freihofer@siemens.com> References: <20241224140251.24389-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 ; Tue, 24 Dec 2024 14:03:14 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6021 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 | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst index cb70e19da..2ae8e73a7 100644 --- a/documentation/migration-guides/migration-5.2.rst +++ b/documentation/migration-guides/migration-5.2.rst @@ -74,6 +74,25 @@ 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 ``FILES`` variable of the same package. Example: + + a.service contains: + + .. code-block:: ini + + [Install] + Also=b.service + + If a.service is packed in package A, b.service is automatically packed + into package A as well. This happens even if b.service is explicitly + added to package B using FILES and SYSTEMD_SERVICE variables. + + This prevents such services from being packaged into different packages. + Therefore, this automatic has been removed for service files (but not for socket files). + Now all service files must be explicitly added to ``FILES``. + Recipe changes ~~~~~~~~~~~~~~ From patchwork Tue Dec 24 14:02:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 54674 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 044D8C3DA4A for ; Tue, 24 Dec 2024 14:03:14 +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.33682.1735048989008793627 for ; Tue, 24 Dec 2024 06:03:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=BaIqTS/p; 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-43625c4a50dso35084175e9.0 for ; Tue, 24 Dec 2024 06:03:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735048987; x=1735653787; 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=TrwPgD6nqQAL9/HyYvdw+CiavcBtwuqw9sGZW8U2oHI=; b=BaIqTS/pLb+x8e5XnRJnU279So7sOuA2QuQ2QkJWvbKH8vkbS8fIQfrQaJkh52cFiT QFCztGGIZLLANFNNDDb09oeirJbA5ViitQB3JJ5Ht1VvQPz9/pvj7MYxyuwLEVt6ZlE5 fmm371j/kWeZySYBb9swWfVBtz26rBgreJvqcM/peEnoSXEjEUrWfyKS8q7Ywb73viAK ehukNCOCA/TwKfjPXwLGGK3uQj4MeSN2v9uRVePGVmHhVkEnyOj0yr+QkjN5HyjQyOHU haRo4SApGMQjrmbIMM4kP7nXrHEkHixi15p9r3ub3tVc17BgR7/yFM4XYr8jsDqnW5Ny mVxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735048987; x=1735653787; 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=TrwPgD6nqQAL9/HyYvdw+CiavcBtwuqw9sGZW8U2oHI=; b=Xro5pCVQIy92jMNijkJdLJ2DFBmvxFjc9jt84FDDBNlyTgLxvd+sOnPkOcWoi46c2E 9Jv0eq7Dl0zZw4r786eCzrolO2TjJ3sYAo/O+yxKQOh77KOP/24hSDqJqe3FU8ort+Rs QXmUKnHA/xxmvA3gkueiLRybdaE1V82OuiI7cBy7IKEU3Sz+m+bsHpoYWH73O59cFIga bQpggSZuvUV4pidzzHKafqoEEjlAYXMzIwvcJ/H91/ptwUNcl3ITFyOpKGLNwy39eIyd DfSDKnkwP91HaYBciRMgKlEIaTjXrCyg3qPo3dW2bDXPc+Vfl74XBez2b4zuiwV6ypxb 8wtQ== X-Gm-Message-State: AOJu0YwMS8rJDp1W3fnx4ybeKpBab+xhMqDlNY0uxDauLnojnGB0EaWq 38lNGQ2Fr4vLVxhaycewOgBmfxguWnDzaZQhmH6lPw2hOAcxinMnPerCgA== X-Gm-Gg: ASbGncucy53TdpFEo2J3oPtsUzi0AChy05+sn2ZNrnk2Zq921fhxDxpIypBmVI7REzq L0yI/21sfhaUBAAjcXnRTxiAXF5Yeo7EnOLj3a43rDeJUlj99SxncdyMGFQk9XJ2rdAIHQnTI2s Iar12/AKemVQwpWhQaM+AxG8Wg5HMStLCYL5Edb3uSuZKQ2Lhcwff+WLPsoFuBDvmwT+RIq+K3J vc759QhNjvrW9ZD6c92YxMWVkAlaopIUSiV7AFbEsgKFVVj10/H99aODnyGMAKFjBzkRk8Ms6Q3 xos1 X-Google-Smtp-Source: AGHT+IEKUg4S20ZGl4/56nWfYl3P2avIL5qurL99A3FYJF35jbsSJY7jqSdKf2aq+I3ckoO0cGWNmA== X-Received: by 2002:a05:600c:3b86:b0:434:a1d3:a326 with SMTP id 5b1f17b1804b1-4366854848dmr134962075e9.6.1735048987024; Tue, 24 Dec 2024 06:03:07 -0800 (PST) Received: from wsadrian16.fritz.box ([2a02:169:59a6:0:55c4:f628:91f3:4287]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c847214sm14204033f8f.46.2024.12.24.06.03.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2024 06:03:06 -0800 (PST) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: docs@lists.yoctoproject.org Cc: Adrian Freihofer Subject: [PATCH 2/3] sdk-manual: extensible.rst: update devtool ide-sdk Date: Tue, 24 Dec 2024 15:02:15 +0100 Message-ID: <20241224140251.24389-3-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241224140251.24389-1-adrian.freihofer@siemens.com> References: <20241224140251.24389-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 ; Tue, 24 Dec 2024 14:03:14 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6022 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: Antonin Godard --- 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 9a50d7fc5..3733997fa 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 Tue Dec 24 14:02:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 54675 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 11814E77188 for ; Tue, 24 Dec 2024 14:03:14 +0000 (UTC) Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mx.groups.io with SMTP id smtpd.web10.33686.1735048992844055548 for ; Tue, 24 Dec 2024 06:03:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lqPm4943; spf=pass (domain: gmail.com, ip: 209.85.128.51, mailfrom: adrian.freihofer@gmail.com) Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-43626213fffso37375635e9.1 for ; Tue, 24 Dec 2024 06:03:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735048991; x=1735653791; 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=9PId356bY6gFFUNmSD8n8li+HAjEo2d73HBvadglZNI=; b=lqPm4943nrQpbJjZ1+qEdXuY0QCydFHLTauIP5ve3els2knjaluZBQlrgTnMhz5gh6 zEoSNqhHYYelisbrN9TQ5h3SBBZD1Kcly/aEO/CPyy1kAqtycVgmGro3KSg4iHeKDBPd xAgXP3JIcfaRTiB9NnSdaC/1lF0Gc6yX9GDnaaKsv67DUuWUQzktGGlEvQXc53ZqmBOP 2cLBKfgdySZQGB8VfNdYlCiMljA5PEJn0tR7Gr728VqY+G6Yvv0xmOgnCJYADS5ftruy T+qiCiywSJKovIvDXRQKhFkUQce7BUfZpGXNs6U+wOjqxVZr8dzrSY83+uqnC8yo2MJ+ V4qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735048991; x=1735653791; 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=9PId356bY6gFFUNmSD8n8li+HAjEo2d73HBvadglZNI=; b=osMsrDRambuq7ZrX0z/gDdlmGOQkjHSdcFpoT81xTUnIY7plNRxRIW48yubmSf3vur CeYHys5Vw95z2XNlGM/kOHL6gCX8QFqJpLKhIMT8hsY2sifRBaQ1PJTkm7S20gPE0fiV zvXsB622rDxJegks4OqzhfAeWueZAr4LGaxtas8qt8i1Grux828s/gwZx7WGyUPe6RDb fPmjA9xPhd1lx8vLLAipn8Z6ymFgiScQUa5z8pVgRs0IEQnxVXNoanlRQV2JQNWWEepp TGu9atw4oemZeAVknX0qPQyqS0i4KWzOK7sr3O9QpHXAFIth3EoGKLOptXDKDlUVRvs1 6Hzg== X-Gm-Message-State: AOJu0Yz93YpqHig9gqlewoT4TE7N1tguljjjaTkbp9+2H+gOWUgKKlLK EataYNU1YTo1olnpFFLXZ6VGvG7lEPjz/cpC8ZlYgxPt+KEBG87ry14v0w== X-Gm-Gg: ASbGncsQOIYgiAVXgq/Bzqjx1oPqcydd21QcJIElJToU694HqTqKD+h+n6xaAyrUMpF RMgJ5fZzgPTs1N7H1LYG0AhzR/hVVoH4dZI+OhFBkYlNeEQhIqUoeWEVnudW7DmkNmwyHoBIIh2 Qpe1ozIJwu4saJKtZ50WcsxH+rEDvRqsP9lCxQtLetq8QJgsh07jjaSROID6KTCAZsLDkYNDJfB yTCOHxLTPx/elbsycZgRprgP02ZYaffYIQVbiA5lyX/hj9tqNyqJ3W0W6qQJ6mB2JhNmuM3U/eo 49D6 X-Google-Smtp-Source: AGHT+IFiPuD0na1ItDSFfja7A6SWM1Vzc20pm8eZ/V4uRFvD6CEhRnM/Mf7yjnrV162MHw13dbe9IA== X-Received: by 2002:a05:6000:4a0d:b0:382:4b69:9ca4 with SMTP id ffacd0b85a97d-38a22a65bdfmr12819957f8f.26.1735048989156; Tue, 24 Dec 2024 06:03:09 -0800 (PST) Received: from wsadrian16.fritz.box ([2a02:169:59a6:0:55c4:f628:91f3:4287]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a1c847214sm14204033f8f.46.2024.12.24.06.03.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Dec 2024 06:03:08 -0800 (PST) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: docs@lists.yoctoproject.org Cc: Adrian Freihofer Subject: [PATCH 3/3] sdk-manual: extensible.rst: remove confusing post-install-logging Date: Tue, 24 Dec 2024 15:02:16 +0100 Message-ID: <20241224140251.24389-4-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241224140251.24389-1-adrian.freihofer@siemens.com> References: <20241224140251.24389-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 ; Tue, 24 Dec 2024 14:03:14 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6023 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 Reviewed-by: Antonin Godard --- 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 3733997fa..1cb1bb47c 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