diff options
author | Michael Biebl <biebl@debian.org> | 2010-09-03 16:23:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-09-06 03:12:44 +0200 |
commit | f10814d9e00eee75773a0f3cf652236ee1a5fca8 (patch) | |
tree | 330273f80630a49dfada4207a3d9f4ea8fe47c52 /Makefile.am | |
parent | ad206afcb90368a03fd8373d49a491ef027c7a4a (diff) |
units: Provide separate fsck.target for Debian
On Debian sysinit is not a single script but a separate runlevel.
Split of fsck.target into separate unit file as otherwise we get an
unbreakable cycle on shutdown/reboot.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index ee8ff4028c..944b8718ab 100644 --- a/Makefile.am +++ b/Makefile.am @@ -235,7 +235,8 @@ dist_systemunit_DATA += \ units/debian/halt.service \ units/debian/killall.service \ units/debian/poweroff.service \ - units/debian/reboot.service + units/debian/reboot.service \ + units/debian/fsck.target endif if TARGET_SUSE @@ -961,10 +962,12 @@ if TARGET_GENTOO $(LN_S) $(systemunitdir)/xdm.service xdm.service ) endif if !TARGET_SUSE +if !TARGET_DEBIAN ( cd $(DESTDIR)$(systemunitdir) && \ rm -f fsck.target && \ $(LN_S) sysinit.target fsck.target ) endif +endif DISTCHECK_CONFIGURE_FLAGS = \ --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \ |