Split systemctl and tmpfiles into a separate package

The backstory is that %{?systemd_requires} in all kinds of .spec files
pulls in systemd, which is not always desirable. Upstream has come up
with some solution where they make use of a rpm tag (available in
4.10+) that is only about ordering - cf
2424b6bd71
. The commit explicitly states though, that "installing systemd
afterwards [...], does not result in the same outcome."

With this proposed change to our systemd.spec, we could have the cake
and eat it too:

* symlinks in /etc/systemd can be created at install time, permitting
the administrator to install/use systemd as init system in a container
at a later date (enabling "same outcome")

* mandatory tmp directories will be created at install time already,
so the administrator does not have to run `tmpfiles --root=/mycontainer`
before launching the (systemd-less) container.

* the only protruding dependency of systemctl.rpm is libgcrypt20,
i.e. comparatively light.

* the OrderWithRequires feature can be done independently

Sounds like a plan? @mpluskal too #boo980389

OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=942
This commit is contained in:
2016-07-29 11:07:07 +00:00
committed by Git OBS Bridge
parent 0d618d1d1b
commit c150ab9ce8
4 changed files with 68 additions and 19 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Tue Jul 26 11:07:25 UTC 2016 - jengelh@inai.de
- Split systemctl and tmpfiles into a separate package
-------------------------------------------------------------------
Sun Jul 17 03:41:05 UTC 2016 - asarai@suse.com
- Backport unified_cgroup_hierarchy fix for Linux >= 4.4. boo#989276
+ systemd-230-cgroup2-use-new-fstype-for-unified-hierarchy.patch
-------------------------------------------------------------------
Sat Jun 18 16:17:36 UTC 2016 - arvidjaar@gmail.com