diff options
-rw-r--r-- | documentation/migration-guides/migration-5.2.rst | 20 |
1 files changed, 20 insertions, 0 deletions
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 | |||
74 | As a consequence, the ``systemd`` recipe no longer contains the ``usrmerge`` | 74 | As a consequence, the ``systemd`` recipe no longer contains the ``usrmerge`` |
75 | :term:`PACKAGECONFIG` option as it is now implied by default. | 75 | :term:`PACKAGECONFIG` option as it is now implied by default. |
76 | 76 | ||
77 | - ``systemd.bbclass``: If a ``systemd`` service file had referred to other service | ||
78 | files by starting them via | ||
79 | `Also <https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Also=>`__, | ||
80 | the other service files were automatically added to the :term:`FILES` variable of | ||
81 | the same package. Example: | ||
82 | |||
83 | a.service contains:: | ||
84 | |||
85 | [Install] | ||
86 | Also=b.service | ||
87 | |||
88 | If ``a.service`` is packaged in package ``A``, ``b.service`` was | ||
89 | automatically packaged into package ``A`` as well. This happened even if | ||
90 | ``b.service`` was explicitly added to package ``B`` using :term:`FILES` and | ||
91 | :term:`SYSTEMD_SERVICE` variables. | ||
92 | This prevented such services from being packaged into different packages. | ||
93 | Therefore, this automatic behavior has been removed for service files (but | ||
94 | not for socket files). | ||
95 | Now all service files must be explicitly added to :term:`FILES`. | ||
96 | |||
77 | Recipe changes | 97 | Recipe changes |
78 | ~~~~~~~~~~~~~~ | 98 | ~~~~~~~~~~~~~~ |
79 | 99 | ||