This enables the ability to use systemd-repart over Varlink at
/run/systemd/io.systemd.Repart.
Change-Id: Ia74fdf8c2cbc4ec52994ba8ceb5796acc731abd3
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
Reorganize the passthru.tests to be able to comment out/disable
individual tests that were previously hidden in an attrset.
Also comment out tests that are currently broken on master. Once this is
merged, the tests in passthru.nixosTests serve as a hard quality gate
for merging changes to systemd as per the newly addded README that lives
next to the systemd derivation. These tests were only commented out
because I believe they are still valuable and should be fixed. However,
actually fixing them is out of scope for this change.
This removed the `installer-systemd-stage-1` tests because they were to
costly to evaluate and build for normal maintainers. We also don't have
all the other installer tests here. All tests use systemd, but we need
to balance the executability in a sensible timescale with test coverage.
This establishes a repeatable and clear process for preparing and
testing changes to systemd. It should help existing maintainers to
follow a consistent process with clear judgment (when these tests pass,
the change is good to merge) and potential new maintainers.
This fix was necessary because systemd now requires the pefile module to
be present in the buildtime python installation.
However, this python is never used in the runtime of ukify. Thus this
change is only necessary to trick systemd's meson to do the right thing.
It doesn't seem like there is a right thing to do in meson for this so
it is unlikely that systemd would accept a patch for this.
These were only replaying paths in man pages or tests. Since we do not
run the tests (because they don't work yet on NixOS), this is just
maintenance churn without being useful.
Patching manpages is IMO also not useful because manpages that diverge
from their canonical form are more confusing than helpful.
This is entirely a "usability" patch which as per the new patch policy
is not allowed.
Additionally, this prohibits valid uses cases (dynamically changing some
parts of the system even if it's configured declaratively).
This is entirely a "usability" patch which as per the new patch policy
is not allowed.
It's value even in the best of times is quite questionable and it's
unclear whether it has done anything in recent years.
This patch adds new functionality to systemd, which as per the new patch
policy is not allowed.
The main use-case this supports (imperatively installing systemd
services) is not used as far as I can tell and is not something we want
to support. Most services do not run anyways without further adjustments
on NixOS.