Merge pull request #15109 from keszybz/units-make-installable

Make homed/userdbd/repart services installable (to allow uninstalling)
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2020-04-02 10:21:29 +02:00
committed by GitHub
8 changed files with 25 additions and 9 deletions
+1 -1
View File
@@ -1964,7 +1964,7 @@ test_setup() {
if [ ${TEST_REQUIRE_INSTALL_TESTS} -ne 0 ] && \
type -P meson >/dev/null && \
[[ "$(meson configure $BUILD_DIR | grep install-tests | awk '{ print $2 }')" != "true" ]]; then
dfatal "Needs to be built with -Dinstall-tests=true"
dfatal "$BUILD_DIR needs to be built with -Dinstall-tests=true"
exit 1
fi
+3 -1
View File
@@ -1,7 +1,9 @@
[Unit]
Description=TEST-46-HOMED
Before=getty-pre.target
Wants=getty-pre.target
Before=getty-pre.target
Wants=systemd-homed.service
After=systemd-homed.service
[Service]
ExecStartPre=rm -f /failed /testok