Compare commits
No commits in common. "cdc6c95737d26b1746b446dfe662872d593d23c6" and "992622c4289ef7c956a7bfef5eb8e5ab93e43457" have entirely different histories.
cdc6c95737
...
992622c428
|
@ -207,7 +207,7 @@ static int swap_add_device_dependencies(Swap *s) {
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
p = swap_get_parameters(s);
|
p = swap_get_parameters(s);
|
||||||
if (!p || !p->what)
|
if (!p)
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
mask = s->from_proc_swaps ? UNIT_DEPENDENCY_PROC_SWAP : UNIT_DEPENDENCY_FILE;
|
mask = s->from_proc_swaps ? UNIT_DEPENDENCY_PROC_SWAP : UNIT_DEPENDENCY_FILE;
|
||||||
|
|
|
@ -12,7 +12,6 @@ Description=Kernel Trace File System
|
||||||
Documentation=https://www.kernel.org/doc/Documentation/trace/ftrace.txt
|
Documentation=https://www.kernel.org/doc/Documentation/trace/ftrace.txt
|
||||||
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
Documentation=https://www.freedesktop.org/wiki/Software/systemd/APIFileSystems
|
||||||
DefaultDependencies=no
|
DefaultDependencies=no
|
||||||
ConditionVirtualization=!lxc
|
|
||||||
ConditionPathExists=/sys/kernel/tracing
|
ConditionPathExists=/sys/kernel/tracing
|
||||||
ConditionCapability=CAP_SYS_RAWIO
|
ConditionCapability=CAP_SYS_RAWIO
|
||||||
Before=sysinit.target
|
Before=sysinit.target
|
||||||
|
|
Loading…
Reference in New Issue