]> git.ipfire.org Git - thirdparty/systemd.git/commit - Makefile.am
Move x-systemd-device.timeout handling from core to fstab-generator
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 27 Jun 2014 16:12:07 +0000 (12:12 -0400)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 30 Jun 2014 22:39:45 +0000 (18:39 -0400)
commit2968644080fd103062f070e83edd620e0a58c44d
tree23eb479af49fa71966b565dea7f29a2e2eb130e2
parent6e81b5b9dc10dd0b47102afe42457e4a314cb01f
Move x-systemd-device.timeout handling from core to fstab-generator

Instead of adjusting job timeouts in the core, let fstab-generator
write out a dropin snippet with the appropriate JobTimeout.
x-systemd-device.timeout option is removed from Options= line
in the generated unit.

The functions to write dropins are moved from core/unit.c to
shared/dropin.c, to make them available outside of core.

generator.c is moved to libsystemd-label, because it now uses
functions defined in dropin.c, which are in libsystemd-label.
Makefile.am
src/core/mount.c
src/core/unit.c
src/fstab-generator/fstab-generator.c
src/shared/dropin.c [new file with mode: 0644]
src/shared/dropin.h [new file with mode: 0644]
src/shared/generator.c
src/shared/generator.h
src/shared/path-lookup.h