X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=dcaf382fb4f4dc45d930b6eaad902c1d1fb33347;hp=a028553cd3589b7c3d049d4bbe9496a18e148761;hb=d674a4ab52b08dfa8d2221d903011ebf8ae2d11f;hpb=52661efd21608dc7e0ac26b714a9254ed6180ddb diff --git a/Makefile.am b/Makefile.am index a028553cd..dcaf382fb 100644 --- a/Makefile.am +++ b/Makefile.am @@ -89,7 +89,7 @@ bin_PROGRAMS = \ if HAVE_GTK bin_PROGRAMS += \ systemadm \ - systemd-ask-password-agent + systemd-gnome-ask-password-agent endif rootlibexec_PROGRAMS = \ @@ -108,7 +108,9 @@ rootlibexec_PROGRAMS = \ systemd-readahead-collect \ systemd-readahead-replay \ systemd-tmpfiles \ - systemd-user-sessions + systemd-user-sessions \ + systemd-fsck \ + systemd-quotacheck noinst_PROGRAMS = \ test-engine \ @@ -162,6 +164,7 @@ dist_systemunit_DATA = \ units/basic.target \ units/getty.target \ units/halt.target \ + units/kexec.target \ units/local-fs.target \ units/network.target \ units/nss-lookup.target \ @@ -173,6 +176,7 @@ dist_systemunit_DATA = \ units/rpcbind.target \ units/rtc-set.target \ units/shutdown.target \ + units/final.target \ units/umount.target \ units/sigpwr.target \ units/sockets.target \ @@ -181,7 +185,7 @@ dist_systemunit_DATA = \ units/systemd-initctl.socket \ units/systemd-logger.socket \ units/systemd-shutdownd.socket \ - units/systemd-kmsg-syslogd.socket \ + units/syslog.socket \ units/dev-hugepages.automount \ units/dev-hugepages.mount \ units/dev-mqueue.automount \ @@ -202,9 +206,9 @@ dist_systemunit_DATA = \ units/printer.target \ units/bluetooth.target \ units/smartcard.target \ - units/tmpwatch.service \ - units/tmpwatch.timer \ - units/systemd-readahead-done.timer + units/systemd-readahead-done.timer \ + units/systemd-tmpfiles-clean.timer \ + units/quotaon.service nodist_systemunit_DATA = \ units/sysinit.target \ @@ -227,12 +231,21 @@ nodist_systemunit_DATA = \ units/systemd-readahead-collect.service \ units/systemd-readahead-replay.service \ units/systemd-readahead-done.service \ - units/systemd-tmpfiles.service \ + units/systemd-tmpfiles-setup.service \ + units/systemd-tmpfiles-clean.service \ units/systemd-user-sessions.service \ - units/syslog.target + units/syslog.target \ + units/halt.service \ + units/poweroff.service \ + units/reboot.service \ + units/kexec.service \ + units/fsck@.service \ + units/fsck-root.service \ + units/quotacheck.service dist_sessionunit_DATA = \ - units/session/default.target + units/session/default.target \ + units/session/exit.target nodist_sessionunit_DATA = \ units/session/remote-fs.target \ @@ -259,20 +272,25 @@ EXTRA_DIST = \ units/systemd-readahead-collect.service.in \ units/systemd-readahead-replay.service.in \ units/systemd-readahead-done.service.in \ - units/systemd-tmpfiles.service.in \ + units/systemd-tmpfiles-setup.service.in \ + units/systemd-tmpfiles-clean.service.in \ units/systemd-user-sessions.service.in \ units/syslog.target.in \ + units/halt.service.in \ + units/poweroff.service.in \ + units/reboot.service.in \ + units/kexec.service.in \ units/session/exit.service.in \ + units/fsck@.service.in \ + units/fsck-root.service.in \ + units/quotacheck.service.in \ systemd.pc.in if TARGET_FEDORA dist_systemunit_DATA += \ - units/fedora/halt.service \ - units/fedora/killall.service \ - units/fedora/poweroff.service \ units/fedora/prefdm.service \ units/fedora/rc-local.service \ - units/fedora/reboot.service \ + units/fedora/halt-local.service \ units/fedora/sysinit.service \ units/fedora/single.service \ units/fedora/plymouth-quit.service \ @@ -283,10 +301,6 @@ endif if TARGET_DEBIAN dist_systemunit_DATA += \ - units/debian/halt.service \ - units/debian/killall.service \ - units/debian/poweroff.service \ - units/debian/reboot.service \ units/debian/fsck.target \ units/debian/umountfs.service \ units/debian/umountnfs.service \ @@ -295,28 +309,18 @@ endif if TARGET_SUSE dist_systemunit_DATA += \ - units/suse/halt.service \ - units/suse/poweroff.service \ - units/suse/reboot.service \ units/suse/fsck.target endif if TARGET_GENTOO dist_systemunit_DATA += \ - units/gentoo/halt.service \ - units/gentoo/killall.service \ - units/gentoo/poweroff.service \ - units/gentoo/reboot.service \ units/gentoo/xdm.service endif if TARGET_ARCH dist_systemunit_DATA += \ units/arch/sysinit.service \ - units/arch/rc-local.service \ - units/arch/halt.service \ - units/arch/poweroff.service \ - units/arch/reboot.service + units/arch/rc-local.service endif dist_doc_DATA = \ @@ -444,6 +448,7 @@ EXTRA_DIST += \ src/cgroup-show.h \ src/build.h \ src/shutdownd.h \ + src/umount.h \ src/readahead-common.h MANPAGES = \ @@ -649,7 +654,6 @@ systemd_shutdownd_LDADD = \ systemd_shutdown_SOURCES = \ src/mount-setup.c \ - src/umount.h \ src/umount.c \ src/shutdown.c @@ -667,7 +671,7 @@ systemd_modules_load_SOURCES = \ systemd_modules_load_CFLAGS = \ $(AM_CFLAGS) -systemd_tmpfiles_LDADD = \ +systemd_modules_load_LDADD = \ libsystemd-basic.la systemd_tmpfiles_SOURCES = \ @@ -676,7 +680,30 @@ systemd_tmpfiles_SOURCES = \ systemd_tmpfiles_CFLAGS = \ $(AM_CFLAGS) -systemd_user_sessions_LDADD = \ +systemd_tmpfiles_LDADD = \ + libsystemd-basic.la + +systemd_fsck_SOURCES = \ + src/fsck.c \ + src/dbus-common.c + +systemd_fsck_CFLAGS = \ + $(AM_CFLAGS) \ + $(UDEV_CFLAGS) \ + $(DBUS_CFLAGS) + +systemd_fsck_LDADD = \ + libsystemd-basic.la \ + $(UDEV_LIBS) \ + $(DBUS_LIBS) + +systemd_quotacheck_SOURCES = \ + src/quotacheck.c + +systemd_quotacheck_CFLAGS = \ + $(AM_CFLAGS) + +systemd_quotacheck_LDADD = \ libsystemd-basic.la systemd_user_sessions_SOURCES = \ @@ -686,7 +713,7 @@ systemd_user_sessions_SOURCES = \ systemd_user_sessions_CFLAGS = \ $(AM_CFLAGS) -systemd_modules_load_LDADD = \ +systemd_user_sessions_LDADD = \ libsystemd-basic.la systemd_vconsole_setup_SOURCES = \ @@ -828,10 +855,10 @@ systemadm_LDADD = \ $(DBUSGLIB_LIBS) \ $(GTK_LIBS) -systemd_ask_password_agent_SOURCES = \ - src/ask-password-agent.vala +systemd_gnome_ask_password_agent_SOURCES = \ + src/gnome-ask-password-agent.vala -systemd_ask_password_agent_CFLAGS = \ +systemd_gnome_ask_password_agent_CFLAGS = \ $(AM_CFLAGS) \ $(DBUSGLIB_CFLAGS) \ $(GTK_CFLAGS) \ @@ -840,7 +867,7 @@ systemd_ask_password_agent_CFLAGS = \ -Wno-shadow \ -Wno-format-nonliteral -systemd_ask_password_agent_VALAFLAGS = \ +systemd_gnome_ask_password_agent_VALAFLAGS = \ --pkg=dbus-glib-1 \ --pkg=posix \ --pkg=gtk+-2.0 \ @@ -849,7 +876,7 @@ systemd_ask_password_agent_VALAFLAGS = \ --pkg=libnotify \ -g -systemd_ask_password_agent_LDADD = \ +systemd_gnome_ask_password_agent_LDADD = \ $(DBUSGLIB_LIBS) \ $(GTK_LIBS) @@ -1010,19 +1037,22 @@ install-data-hook: $(DESTDIR)$(systemunitdir)/runlevel5.target.wants \ $(DESTDIR)$(systemunitdir)/multi-user.target.wants \ $(DESTDIR)$(pkgsysconfdir)/system \ - $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \ + $(DESTDIR)$(pkgsysconfdir)/system/basic.target.wants \ + $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants \ $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \ $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants \ + $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \ $(DESTDIR)$(pkgsysconfdir)/session \ $(DESTDIR)$(sysconfdir)/xdg/systemd ( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \ rm -f session && \ $(LN_S) $(pkgsysconfdir)/session session ) ( cd $(DESTDIR)$(systemunitdir)/sockets.target.wants && \ - rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket && \ + rm -f systemd-initctl.socket systemd-logger.socket systemd-shutdownd.socket syslog.socket && \ $(LN_S) ../systemd-logger.socket systemd-logger.socket && \ $(LN_S) ../systemd-initctl.socket systemd-initctl.socket && \ - $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket ) + $(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket && \ + $(LN_S) ../syslog.socket syslog.socket ) ( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \ rm -f systemd-update-utmp-runlevel.service && \ $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service ) @@ -1047,10 +1077,12 @@ install-data-hook: $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service ) ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \ rm -f systemd-remount-api-vfs.service \ + fsck-root.service \ remount-rootfs.service \ var-run.mount \ var-lock.mount && \ $(LN_S) ../systemd-remount-api-vfs.service systemd-remount-api-vfs.service && \ + $(LN_S) ../fsck-root.service fsck-root.service && \ $(LN_S) ../remount-rootfs.service remount-rootfs.service && \ $(LN_S) ../var-run.mount var-run.mount && \ $(LN_S) ../var-lock.mount var-lock.mount ) @@ -1087,9 +1119,16 @@ install-data-hook: $(LN_S) $(systemunitdir)/getty@.service getty@tty4.service && \ $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \ $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service ) + ( cd $(DESTDIR)$(pkgsysconfdir)/system/local-fs.target.wants && \ + rm -f quotaon.service quotacheck.service && \ + $(LN_S) $(systemunitdir)/quotacheck.service quotacheck.service && \ + $(LN_S) $(systemunitdir)/quotaon.service quotaon.service ) ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ rm -f remote-fs.target && \ $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target ) + ( cd $(DESTDIR)$(pkgsysconfdir)/system/basic.target.wants && \ + rm -f hwclock-load.service && \ + $(LN_S) $(systemunitdir)/hwclock-load.service hwclock-load.service ) ( cd $(DESTDIR)$(systemunitdir)/basic.target.wants && \ rm -f dev-hugepages.automount \ dev-mqueue.automount \ @@ -1099,10 +1138,9 @@ install-data-hook: systemd-vconsole-setup.service \ systemd-modules-load.service \ systemd-random-seed-load.service \ - systemd-tmpfiles.service \ + systemd-tmpfiles-setup.service \ sysctl.service \ - tmpwatch.timer \ - tmpwatch.service && \ + systemd-tmpfiles-clean.timer && \ $(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \ $(LN_S) ../dev-mqueue.automount dev-mqueue.automount && \ $(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount && \ @@ -1111,10 +1149,9 @@ install-data-hook: $(LN_S) ../systemd-vconsole-setup.service systemd-vconsole-setup.service && \ $(LN_S) ../systemd-modules-load.service systemd-modules-load.service && \ $(LN_S) ../systemd-random-seed-load.service systemd-random-seed-load.service && \ - $(LN_S) ../systemd-tmpfiles.service systemd-tmpfiles.service && \ + $(LN_S) ../systemd-tmpfiles-setup.service systemd-tmpfiles-setup.service && \ $(LN_S) ../sysctl.service sysctl.service && \ - $(LN_S) ../tmpwatch.timer tmpwatch.timer && \ - $(LN_S) ../tmpwatch.service tmpwatch.service ) + $(LN_S) ../systemd-tmpfiles-clean.timer systemd-tmpfiles-clean.timer ) ( cd $(DESTDIR)$(dbussessionservicedir) && \ rm -f org.freedesktop.systemd1.service && \ $(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service ) @@ -1125,7 +1162,8 @@ if TARGET_FEDORA $(DESTDIR)$(systemunitdir)/poweroff.target.wants \ $(DESTDIR)$(systemunitdir)/halt.target.wants \ $(DESTDIR)$(systemunitdir)/rescue.target.wants \ - $(DESTDIR)$(systemunitdir)/multi-user.target.wants + $(DESTDIR)$(systemunitdir)/multi-user.target.wants \ + $(DESTDIR)$(systemunitdir)/final.target.wants ( cd $(DESTDIR)$(pkgsysconfdir)/system && \ rm -f display-manager.service && \ $(LN_S) $(systemunitdir)/prefdm.service display-manager.service ) @@ -1135,6 +1173,9 @@ if TARGET_FEDORA ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ rm -f rc-local.service && \ $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) + ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ + rm -f halt-local.service && \ + $(LN_S) $(systemunitdir)/halt-local.service halt-local.service ) ( cd $(DESTDIR)$(systemunitdir)/rescue.target.wants && \ rm -f single.service && \ $(LN_S) $(systemunitdir)/single.service single.service )