<feed xmlns='http://www.w3.org/2005/Atom'>
<title>algaos/algaos-ebuild-tree/eclass/systemd.eclass, branch next</title>
<subtitle>[no description]</subtitle>
<id>https://git.algaos.com/algaos/algaos-ebuild-tree/atom?h=next</id>
<link rel='self' href='https://git.algaos.com/algaos/algaos-ebuild-tree/atom?h=next'/>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/'/>
<updated>2025-04-23T15:17:40Z</updated>
<entry>
<title>systemd.eclass: make all fallback paths use /usr/lib</title>
<updated>2025-04-23T15:17:40Z</updated>
<author>
<name>Eli Schwartz</name>
<email>eschwartz@gentoo.org</email>
</author>
<published>2025-04-23T14:53:58Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=31153db1f45836c37cda3d0c12643c67e1eaca85'/>
<id>urn:sha1:31153db1f45836c37cda3d0c12643c67e1eaca85</id>
<content type='text'>
Back in 2018, the eclass was changed to ensure that the canonical path
used for results was in /lib, since that works for split-usr systems
running systemd while also supporting merged-usr systems due to portage
following symlinks at install time. It even works for binpkgs.

But here and now in 2025, systemd doesn't support split-usr at all.
There is no point in having unit files install conservatively in
/lib/systemd. Update the path to accommodate the new reality.

This mostly has no effect. On openrc profiles, or for packages that use
systemd_dounit without pulling in pkgconfig, binpkgs will be created
with a different, but still working path, which then triggers iwdevtools
warnings when you reinstall a former binpkg from source, as it thinks
the file has "moved". e.g.

```
 * CMP: =net-misc/radvd-2.19-r7 with net-misc/radvd-2.20/image
 *  FILES:-lib/systemd/system/radvd.service
 *  FILES:+usr/lib/systemd/system/radvd.service
 * ------&gt; FILES(+1,-1)
```

Signed-off-by: Eli Schwartz &lt;eschwartz@gentoo.org&gt;
Signed-off-by: Sam James &lt;sam@gentoo.org&gt;
</content>
</entry>
<entry>
<title>eclass: canonicalize debug-print-function calls</title>
<updated>2024-10-08T15:31:52Z</updated>
<author>
<name>David Seifert</name>
<email>soap@gentoo.org</email>
</author>
<published>2024-10-08T15:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=c8af7eb1285a2683460618b71e2e9a14ca6badcd'/>
<id>urn:sha1:c8af7eb1285a2683460618b71e2e9a14ca6badcd</id>
<content type='text'>
Closes: https://github.com/gentoo/gentoo/pull/37652
Signed-off-by: David Seifert &lt;soap@gentoo.org&gt;
</content>
</entry>
<entry>
<title>systemd.eclass: drop support for EAPI 5 and 6</title>
<updated>2024-10-08T15:31:35Z</updated>
<author>
<name>David Seifert</name>
<email>soap@gentoo.org</email>
</author>
<published>2024-10-08T15:31:35Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=8d9c83916b723374b5d5a6c9d4fd010a9be6f059'/>
<id>urn:sha1:8d9c83916b723374b5d5a6c9d4fd010a9be6f059</id>
<content type='text'>
Signed-off-by: David Seifert &lt;soap@gentoo.org&gt;
</content>
</entry>
<entry>
<title>systemd.eclass: add global-scope ewarn for deprecated &lt; EAPI 7</title>
<updated>2024-09-08T18:21:21Z</updated>
<author>
<name>Sam James</name>
<email>sam@gentoo.org</email>
</author>
<published>2024-09-07T21:38:35Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=2adde4478398749f442fd67d72fd631b8138ea1a'/>
<id>urn:sha1:2adde4478398749f442fd67d72fd631b8138ea1a</id>
<content type='text'>
Signed-off-by: Sam James &lt;sam@gentoo.org&gt;
</content>
</entry>
<entry>
<title>systemd.eclass: add systemd_install_dropin</title>
<updated>2023-10-01T18:16:06Z</updated>
<author>
<name>Florian Schmaus</name>
<email>flow@gentoo.org</email>
</author>
<published>2023-09-27T14:08:05Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=866faf07e36ba85b4c1cce2ac642eb5b7b041f57'/>
<id>urn:sha1:866faf07e36ba85b4c1cce2ac642eb5b7b041f57</id>
<content type='text'>
Closes: https://bugs.gentoo.org/876658
Signed-off-by: Florian Schmaus &lt;flow@gentoo.org&gt;
Closes: https://github.com/gentoo/gentoo/pull/33089
Signed-off-by: Mike Gilbert &lt;floppym@gentoo.org&gt;
</content>
</entry>
<entry>
<title>systemd.eclass: add systemd_get_sleepdir</title>
<updated>2022-10-15T17:33:49Z</updated>
<author>
<name>Mike Gilbert</name>
<email>floppym@gentoo.org</email>
</author>
<published>2022-10-09T20:22:38Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=456501e78c64d3d76d8c9a404c68a13d352acb21'/>
<id>urn:sha1:456501e78c64d3d76d8c9a404c68a13d352acb21</id>
<content type='text'>
Closes: https://bugs.gentoo.org/873172
Signed-off-by: Mike Gilbert &lt;floppym@gentoo.org&gt;
</content>
</entry>
<entry>
<title>systemd.eclass: rework EPREFIX handling</title>
<updated>2022-10-15T17:33:49Z</updated>
<author>
<name>Mike Gilbert</name>
<email>floppym@gentoo.org</email>
</author>
<published>2022-10-09T20:04:31Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=50794324fa34bb181a351ad813e15f866d7d5dd1'/>
<id>urn:sha1:50794324fa34bb181a351ad813e15f866d7d5dd1</id>
<content type='text'>
Instead of adding a private function to get the unprefixed version of
every path, use a new "_systemd_unprefix" helper function.

Signed-off-by: Mike Gilbert &lt;floppym@gentoo.org&gt;
</content>
</entry>
<entry>
<title>systemd.eclass: introduce systemd_get_systempresetdir</title>
<updated>2021-09-19T21:38:24Z</updated>
<author>
<name>Mike Gilbert</name>
<email>floppym@gentoo.org</email>
</author>
<published>2021-09-18T14:35:51Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=b8f91fee6a8314dc58c1da011b65d9b857ef963f'/>
<id>urn:sha1:b8f91fee6a8314dc58c1da011b65d9b857ef963f</id>
<content type='text'>
Bug: https://bugs.gentoo.org/813639
Signed-off-by: Mike Gilbert &lt;floppym@gentoo.org&gt;
</content>
</entry>
<entry>
<title>systemd.eclass: set PKG_CONFIG_FDO_SYSROOT_RULES</title>
<updated>2021-09-19T21:38:23Z</updated>
<author>
<name>Mike Gilbert</name>
<email>floppym@gentoo.org</email>
</author>
<published>2021-09-18T14:09:34Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=b6a14ebec15b54b109f93b9d330d2083a663aa1c'/>
<id>urn:sha1:b6a14ebec15b54b109f93b9d330d2083a663aa1c</id>
<content type='text'>
This prevents pkgconf from prepending install paths with SYSROOT.

Bug: https://bugs.gentoo.org/813639
Signed-off-by: Mike Gilbert &lt;floppym@gentoo.org&gt;
</content>
</entry>
<entry>
<title>systemd.eclass: EAPI 8 support</title>
<updated>2021-07-02T15:32:27Z</updated>
<author>
<name>David Michael</name>
<email>fedora.dm0@gmail.com</email>
</author>
<published>2021-06-24T20:04:58Z</published>
<link rel='alternate' type='text/html' href='https://git.algaos.com/algaos/algaos-ebuild-tree/commit/?id=5c91b95ebd648e882ea42640c46d63db98f635fa'/>
<id>urn:sha1:5c91b95ebd648e882ea42640c46d63db98f635fa</id>
<content type='text'>
This also drops EAPIs &lt; 5 to match toolchain-funcs.eclass.  (Its
support for EAPI 0 is an implementation detail so crossdev can
source it, which is not relevant here.)

Signed-off-by: David Michael &lt;fedora.dm0@gmail.com&gt;
Signed-off-by: Mike Gilbert &lt;floppym@gentoo.org&gt;
</content>
</entry>
</feed>
