diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst index cb70e19da0..e9de6910e1 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 `__, + 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`` 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. + 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 ~~~~~~~~~~~~~~