From: Quentin Schulz <quentin.schulz@cherry.de>
To: adrian.freihofer@gmail.com, docs@lists.yoctoproject.org
Cc: Adrian Freihofer <adrian.freihofer@siemens.com>,
Antonin Godard <antonin.godard@bootlin.com>
Subject: Re: [docs] [PATCH v4 1/4] migration-guides: systemd.bbclass do not add Also services for 5.2
Date: Wed, 15 Jan 2025 12:29:09 +0100 [thread overview]
Message-ID: <eb09276a-c9b9-4bc2-b628-782344d42f71@cherry.de> (raw)
In-Reply-To: <20250114200734.4191354-2-adrian.freihofer@siemens.com>
Hi Adrian,
On 1/14/25 9:07 PM, Adrian Freihofer via lists.yoctoproject.org wrote:
> From: Adrian Freihofer <adrian.freihofer@gmail.com>
>
> Covers the changes introduced by commit
> https://git.yoctoproject.org/poky/commit/?id=efa5f65c2214239ed7aaf7bd8998683e755c5660
>
> Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
> Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>
> ---
> .../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..c317587ee5a 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 via
> + `Also <https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#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.
I believe there's some misleading use of the present tense?
This behavior is fixed no?
So I would suggest the following:
"""
If ``a.service`` is packaged in package ``A``, ``b.service`` was
automatically
packaged into package ``A`` as well. This happened even if ``b.service`` was
explicitly added to package ``B`` using :term:`FILES` and
:term:`SYSTEMD_SERVICE` variables.
This prevented such services from being packaged into different packages.
"""
Does this make sense?
Cheers,
Quentin
next prev parent reply other threads:[~2025-01-15 11:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-14 20:07 [PATCH v4 0/4] Cover systemd.bbclass and devtool ide-sdk changes Adrian Freihofer
2025-01-14 20:07 ` [PATCH v4 1/4] migration-guides: systemd.bbclass do not add Also services for 5.2 Adrian Freihofer
2025-01-15 11:29 ` Quentin Schulz [this message]
2025-01-14 20:07 ` [PATCH v4 2/4] sdk-manual: extensible.rst: update devtool ide-sdk Adrian Freihofer
2025-01-15 11:29 ` [docs] " Quentin Schulz
2025-01-14 20:07 ` [PATCH v4 3/4] sdk-manual: extensible.rst: remove confusing post-install-logging Adrian Freihofer
2025-01-14 20:07 ` [PATCH v4 4/4] release-notes-5.2: cover devtool modify --debug-build Adrian Freihofer
2025-01-15 11:32 ` [docs] " Quentin Schulz
2025-01-22 9:00 ` [PATCH v4 0/4] Cover systemd.bbclass and devtool ide-sdk changes Antonin Godard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=eb09276a-c9b9-4bc2-b628-782344d42f71@cherry.de \
--to=quentin.schulz@cherry.de \
--cc=adrian.freihofer@gmail.com \
--cc=adrian.freihofer@siemens.com \
--cc=antonin.godard@bootlin.com \
--cc=docs@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox