From patchwork Thu Jan 9 22:17:19 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 55299 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 725B6E7719C for ; Thu, 9 Jan 2025 22:20:35 +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.5636.1736461231201167649 for ; Thu, 09 Jan 2025 14:20:31 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=lkCpV8Ps; spf=pass (domain: gmail.com, ip: 209.85.221.49, mailfrom: adrian.freihofer@gmail.com) Received: by mail-wr1-f49.google.com with SMTP id ffacd0b85a97d-385d7f19f20so724875f8f.1 for ; Thu, 09 Jan 2025 14:20:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736461229; x=1737066029; 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=8W1bbBRcz5pHeUF4Kb6cURlBP1HLhDglUZnBzUj/ksw=; b=lkCpV8PsFMrosIyFjZ06D8faK9aDFHeBydvX1LW1bI/k2WUs4/dm7ykrp1T9M1SN93 y9SpJ4VQAWbe0knum52EPy6MgScFQGKH9yqu0pYRoaCm9dSDCsDLck/uZyc1jqOfU+AH VT1GTdwF+8+sJvPPwfX7aY+Qto3wSh3XvTWYyZiYDM+tvVMc54cbx1tHA0D60pqcswz3 Xk47WeO6dKhdSyMNS0w5wq6e/7I56GqBWcu/EdPU71Cyp92XrDWdSE8DH2ZlgAUQ7/Od 2P8shKksHczsFyChe/CiO2ozlLOLX44lu32MM7odu5eHfU1i1V0wPHI2ycQKLDu7mFMd Xp5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736461229; x=1737066029; 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=8W1bbBRcz5pHeUF4Kb6cURlBP1HLhDglUZnBzUj/ksw=; b=GzwJ49AOG3iVw9fgaNcnWjaJvi5UiNV2mCxJu7NA4Ej1zc3En/AGF3n1D0fJ3Qwtq5 4P8UnkRXcLTIB8jJnCA4Kc76BuyFbNTJX4CRwHVpvIrIPxMfLv4/HG9Gz490aXFt1JBJ Eb7KjOAkPYNQiLixKvCKUMtEXb0Jf1a3mrdASMeM6TLOaIepEEAcNOnXB+WLiTu5kY7V DwZx/LWEiBIJddDVCFYyu7H8b/u01SLMqJ7guTnDKqhJzhifHWniQo1RN1uJIH/vpBPq l9QMZLb1F40JSl0dC4mIO7XAd8xn44h4XNeaNAKBHgtnkb1Q6PKw2wRKGdQG3O4ejdIB dbLw== X-Gm-Message-State: AOJu0Yz7cdiREsC6yDPA2CYdht1Y+BtbXUsilyumaaLIjY6EsENXCNbV LA6VCA3/AMT8KgrQ7q1TlTTG7H2GQbiupIaIOCvifnn3TvBOn1iZKJ4kYQ== X-Gm-Gg: ASbGncscjuAXtJckr2i9kWKiLPSbkF2RmCo+03V2Pk/d62Qy+IVxwR81NxqA4bWFJoy Z+sxGlSEfkFJMY49g2SRkTn83nhKU9Czl8d4TRWT9H50GF75w89RXwyROCb2uOtPPOyEZOdEMAl e3AgzHLZLLlqG9KKiBJ5ft0Du9vW4+MWn+W7rJ4c/TUkB4pPEoCl5no60S3CIzr/T7tO58UNbcr 89ipJv3q7K7WYHQKVY6u0Rop2KG+RGcuUS0mGOOABww7cOcO+lzcmeTAvahCqtQUaAslgBXA0a7 XOjs X-Google-Smtp-Source: AGHT+IELhzyU2dvrurn8gFyfodCCT5TJO/x6ZCDn6deHLvBJPLb5Ry8uHmz0u02ywPC69j8vPDTYjw== X-Received: by 2002:a05:6000:401e:b0:38a:4184:151c with SMTP id ffacd0b85a97d-38a8730ad01mr7440830f8f.27.1736461229248; Thu, 09 Jan 2025 14:20:29 -0800 (PST) Received: from wsadrian16.fritz.box ([2a02:169:59a6:0:55c4:f628:91f3:4287]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a8e4c1dc6sm2853265f8f.96.2025.01.09.14.20.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2025 14:20:28 -0800 (PST) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: docs@lists.yoctoproject.org Cc: Adrian Freihofer Subject: [PATCH v2 1/3] migration-guides: systemd.bbclass do not add Also services for 5.2 Date: Thu, 9 Jan 2025 23:17:19 +0100 Message-ID: <20250109222015.12658-2-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250109222015.12658-1-adrian.freihofer@siemens.com> References: <20250109222015.12658-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 ; Thu, 09 Jan 2025 22:20:35 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6076 Covers the chagnes introduced by commit https://git.yoctoproject.org/poky/commit/?id=efa5f65c2214239ed7aaf7bd8998683e755c5660 Signed-off-by: Adrian Freihofer Reviewed-by: Antonin Godard --- .../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..b18ae30d9 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 :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 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 Thu Jan 9 22:17:20 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 55298 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 61A9FE7719D for ; Thu, 9 Jan 2025 22:20:35 +0000 (UTC) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mx.groups.io with SMTP id smtpd.web11.5620.1736461232413451252 for ; Thu, 09 Jan 2025 14:20:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=gWvC1LBL; spf=pass (domain: gmail.com, ip: 209.85.128.45, mailfrom: adrian.freihofer@gmail.com) Received: by mail-wm1-f45.google.com with SMTP id 5b1f17b1804b1-436637e8c8dso15747375e9.1 for ; Thu, 09 Jan 2025 14:20:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736461230; x=1737066030; 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=gWvC1LBLH7SOnAOV1eA6GRFcFaU5gYZa3ELwfbAPXfcm5IB9tH9HfwovgfTLP1+HFS vC/vHpZ1uJ3r0fiw2SjamJcj60qCsxyErnXBJSAwdl5JdJJ6/w0usyQFiacQ2xEniPN4 sXHSTjavgqvTnevj3oKDzdvm9bvFjD9CZF3qsQeh7884/q1CxcRoFElmsTriof437w18 cpdAjJnOHaMZJkRA4o25DDE2aehpMFK+xI/BOHKVeazyCHz8blZ1VJ5uqtXC9VTS+br6 udJE7gdsaZ9oKtXbB9L7I7cA9jSlra7BkeYZVehXURCqMrEvm9F+fpNEUP1p50wYFkmn Y8NA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736461230; x=1737066030; 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=bS0gaEwkZMtS8lE3o+n5bjE+i3eXy3ARE31zdjeOP5eEGqoHO98wqwy5KK2hnuB//z vB00EISQou3w4pAR2DqRgMjlfx4JejXapMf8yt+aMjwzgzk9pUqkNVtyJBtOKh8l9b2W UBf5yyS2d66FgqPI0hRNbIca4JF3zmTsgyajXyFhzlabkrw7Gy1+SNvxk57akHXotifi Bb6PbZ8BmVSaLrrhTnsYwRt4gBE52G3+sFJkapvTfT8LKLHkDVxu1lfWmGBzCvNvCOdc SxKOIRd6xTtZAhEfo2Cibtou124VAVuG5ZJmNMJrgm80NKNyeFqXUlBsKPlRkWzmc4AG 7ylQ== X-Gm-Message-State: AOJu0YwgjaJOswwXOMdPgBqylNdhIg5yWlqXordMsOT+Hjvns76bwRU3 E70FduWHEYe5jZ6DwULWq0SndetVGaQO6NREb1i5LeJnCYgDobbhcLFUPQ== X-Gm-Gg: ASbGnctnThjOo1q5HF4Tc00Xy+x7NNyvfeDoL0TLgD6YyBzIIKDdHvJy0kiTc5I806z n9ZufYWe2r1yW2nYEFGEQZrpVz1irx/IDp5Eh8UVuZiA0rR2JChJlLRwNK2/veNNEW8f9xphy1L J4gBFPBRfPm6yQ2OPr0xUXfyuBepVqKW1srZzDbQQ8690w8lGRM4CnQBnB89DFzUQCtouco1axz uop9nrItlISfRPPsI2LoHA2n2ZP0xxAsFC3nuBadQz3rwjRLAqiVHXE2JmdJJH3XFLaHnS91egd Hgwr X-Google-Smtp-Source: AGHT+IHzTn9eqXoE99/4J0e9LbB4HcFL9vyXFriMYEcJ54gGdH6A5TuYXjnesFf+mCS09Ox5MCEy9g== X-Received: by 2002:a05:6000:1445:b0:385:df6d:6fc7 with SMTP id ffacd0b85a97d-38a8730ce5amr7853456f8f.25.1736461230161; Thu, 09 Jan 2025 14:20:30 -0800 (PST) Received: from wsadrian16.fritz.box ([2a02:169:59a6:0:55c4:f628:91f3:4287]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a8e4c1dc6sm2853265f8f.96.2025.01.09.14.20.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2025 14:20:29 -0800 (PST) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: docs@lists.yoctoproject.org Cc: Adrian Freihofer Subject: [PATCH v2 2/3] sdk-manual: extensible.rst: update devtool ide-sdk Date: Thu, 9 Jan 2025 23:17:20 +0100 Message-ID: <20250109222015.12658-3-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250109222015.12658-1-adrian.freihofer@siemens.com> References: <20250109222015.12658-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 ; Thu, 09 Jan 2025 22:20:35 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6077 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 --- 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 Thu Jan 9 22:17:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adrian Freihofer X-Patchwork-Id: 55297 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 5EA91E7719A for ; Thu, 9 Jan 2025 22:20:35 +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.5638.1736461232889168380 for ; Thu, 09 Jan 2025 14:20:33 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20230601 header.b=PVCkwPGd; 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-436345cc17bso11518105e9.0 for ; Thu, 09 Jan 2025 14:20:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1736461231; x=1737066031; 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=PVCkwPGdwgxRQUFttI0RTace66ZvPBu2wLe2DnWT/OAggCtGebaWzXr1EDoDFb5PtG 1oJIM3p5fLAyRwKcShm5ki/1r6bmEJbEL5+zQogtx9XCT1ePKUES7M6bzW9mgsoYvE9a blBVKbDfk7u3tu5KozkdpPqh9TP5OttZKyymQvcMrvHpFlv0VBigbaYMu4+dNs1guplV JS0akuXXkBxjPJWzRWvVl7wd1mbBegGgdjWolGFQ0wV9uAhJWnAtS8Dh/6ztM7XOnr23 bRmnATS6sRV3QUEu//lk1xgcRe9DxNE072JRwV95uv3BNtl/QCVCOiJT9Mg9NjCj3oOY BNLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736461231; x=1737066031; 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=cHSzcTgLaY9REk1ShnTSNJcLl9vTJQa0j2OL+voBtNR47yL4BRUDImkdeBUvo5DylL VpvFd3TwRLfk/BmvGq9iVN52AvmoX2jzO7H0RBokOnCD9kGY//MK3nfa6WVm1USc3omy 134TVrXtWUsP9YQfiH3wO90YMj9brRrRIWP7mGSRbbX0IqppnABPVuxdcml5f6Xo0uDA iNSf1iViefAM+1MXKlDIAAw6IVTBRgr0YES+KfcFRAKdsyUD3EMav8m6+ix3+YXUbiky YSaJJ4qLR/olPRYH5uXTLVwdIru3XL42v8JOJl94eFzrBLabQxgCowEts+eZfYQfi4Sg LtSw== X-Gm-Message-State: AOJu0Yw0rs++0XRYyf8hM60nyeGitOGUZgAoZ22cSICtxMMCF+75vzbD SK94RKfr18E5k/i5eth57FpYTDOFPMnMZBS64J5gZLyn/zItIp94GLiMWA== X-Gm-Gg: ASbGncswGw1sproztL3pSd8Se2+OVPul5wMAKONWW2GSu70jX7CKcsEuc36s9AG2HIL L44+yzVZPmfsH1sVThk+YWOebxc1q/X3cvQZ2qCrIYLAHb1hu6awaHxZk/FQaQ81eg40r3hf6uI /fdp+hP3NDuakX1iEWynMODll/0hXXrgRIUrsFUXMUrN5j/ACoUovOa/nbksN7sRgBhzDlVq2Op 5T2AMDDPFNu+x2287W3PJQvBP6YwTKmPEDN/WVVIt/4MABd0iSE8/upOKUdDAfALI/lZxDRNmBQ qS1L X-Google-Smtp-Source: AGHT+IGUCPtGqmXY751/cgGYYa5PUudbgW4qi1WnF2slyJVuwa+DNv2K3DNy4z7Km+9C9mwHFeCi5A== X-Received: by 2002:a05:600c:3588:b0:434:fdbc:5cf7 with SMTP id 5b1f17b1804b1-436e26f4aecmr69080685e9.27.1736461230819; Thu, 09 Jan 2025 14:20:30 -0800 (PST) Received: from wsadrian16.fritz.box ([2a02:169:59a6:0:55c4:f628:91f3:4287]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38a8e4c1dc6sm2853265f8f.96.2025.01.09.14.20.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jan 2025 14:20:30 -0800 (PST) From: Adrian Freihofer X-Google-Original-From: Adrian Freihofer To: docs@lists.yoctoproject.org Cc: Adrian Freihofer Subject: [PATCH v2 3/3] sdk-manual: extensible.rst: remove confusing post-install-logging Date: Thu, 9 Jan 2025 23:17:21 +0100 Message-ID: <20250109222015.12658-4-adrian.freihofer@siemens.com> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20250109222015.12658-1-adrian.freihofer@siemens.com> References: <20250109222015.12658-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 ; Thu, 09 Jan 2025 22:20:35 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/6078 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 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