diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-20 16:12:12 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2020-03-22 10:22:42 +0100 |
commit | f55198f03430318ab0e9162d8e2ce563c7ee7225 (patch) | |
tree | 8673c66d4f9daee2aacf7291ec8e287f6219a150 /test/test-path/sysinit.target | |
parent | tests: move unit files to units/ subdirectory (diff) | |
download | systemd-f55198f03430318ab0e9162d8e2ce563c7ee7225.tar.xz systemd-f55198f03430318ab0e9162d8e2ce563c7ee7225.zip |
test: replace symlinks with actual unit files
During installation, meson complains:
> Installing /home/zbyszek/src/systemd-work/test/units/sysinit.target to /var/tmp/systemd-test.Q1FSuj/root/usr/lib/systemd/tests/testdata/units
> Warning: trying to copy a symlink that points to a file. This will copy the file,
> but this will be changed in a future version of Meson to copy the symlink as is. Please update your
> build definitions so that it will not break when the change happens.
It *is* convenient to have those files as symlinks, but it is also confusing,
because symlinks create aliases, and it seems that in those cases we actually
don't want aliases (at least in the case of loopy*.service that'd make the test
pointless).
Diffstat (limited to 'test/test-path/sysinit.target')
-rw-r--r--[l---------] | test/test-path/sysinit.target | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/test/test-path/sysinit.target b/test/test-path/sysinit.target index 9d10e5b2e2..b6c16a1412 120000..100644 --- a/test/test-path/sysinit.target +++ b/test/test-path/sysinit.target @@ -1 +1,15 @@ -../../units/sysinit.target
\ No newline at end of file +# SPDX-License-Identifier: LGPL-2.1+ +# +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. + +[Unit] +Description=System Initialization +Documentation=man:systemd.special(7) +Conflicts=emergency.service emergency.target +Wants=local-fs.target swap.target +After=local-fs.target swap.target emergency.service emergency.target |