summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2010-09-22 12:49:17 +0200
committerKay Sievers <kay.sievers@vrfy.org>2010-09-22 12:49:17 +0200
commit45cf9716724eb949982d311e94cbd257b7b387bc (patch)
tree4b61696b312480a420513431f5af90eba31d2dd9
parent6ebf598c405853a1adb6828726d60a9b3b1855d1 (diff)
units: move ctrl-alt-delete, default getty targets from /etc to /lib
-rw-r--r--Makefile.am42
-rw-r--r--fixme4
2 files changed, 21 insertions, 25 deletions
diff --git a/Makefile.am b/Makefile.am
index 6efba24a53..64e5ba4197 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -911,6 +911,7 @@ install-data-hook:
$(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
$(DESTDIR)$(systemunitdir)/runlevel4.target.wants \
$(DESTDIR)$(systemunitdir)/runlevel5.target.wants \
+ $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
$(DESTDIR)$(pkgsysconfdir)/system \
$(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
$(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
@@ -927,32 +928,32 @@ install-data-hook:
$(LN_S) ../systemd-shutdownd.socket systemd-shutdownd.socket )
( cd $(DESTDIR)$(systemunitdir)/runlevel1.target.wants && \
rm -f systemd-update-utmp-runlevel.service && \
- $(LN_S) ../systemd-update-utmp-runlevel.service )
+ $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
( cd $(DESTDIR)$(systemunitdir)/runlevel2.target.wants && \
rm -f systemd-update-utmp-runlevel.service && \
- $(LN_S) ../systemd-update-utmp-runlevel.service )
+ $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
( cd $(DESTDIR)$(systemunitdir)/runlevel3.target.wants && \
rm -f systemd-update-utmp-runlevel.service && \
- $(LN_S) ../systemd-update-utmp-runlevel.service )
+ $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
( cd $(DESTDIR)$(systemunitdir)/runlevel4.target.wants && \
rm -f systemd-update-utmp-runlevel.service && \
- $(LN_S) ../systemd-update-utmp-runlevel.service )
+ $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
( cd $(DESTDIR)$(systemunitdir)/runlevel5.target.wants && \
rm -f systemd-update-utmp-runlevel.service && \
- $(LN_S) ../systemd-update-utmp-runlevel.service )
+ $(LN_S) ../systemd-update-utmp-runlevel.service systemd-update-utmp-runlevel.service )
( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
rm -f systemd-update-utmp-shutdown.service \
hwclock-save.service \
systemd-random-seed-save.service && \
- $(LN_S) ../systemd-update-utmp-shutdown.service && \
- $(LN_S) ../hwclock-save.service && \
- $(LN_S) ../systemd-random-seed-save.service )
+ $(LN_S) ../systemd-update-utmp-shutdown.service systemd-update-utmp-shutdown.service && \
+ $(LN_S) ../hwclock-save.service hwclock-save.service && \
+ $(LN_S) ../systemd-random-seed-save.service systemd-random-seed-save.service )
( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
rm -f systemd-update-utmp-shutdown.service \
var-run.service \
var-lock.service && \
- $(LN_S) ../var-run.service && \
- $(LN_S) ../var-lock.service )
+ $(LN_S) ../var-run.service var-run.service && \
+ $(LN_S) ../var-lock.service var-lock.service )
( cd $(DESTDIR)$(sessionunitdir) && \
rm -f shutdown.target sockets.target local-fs.target swap.target bluetooth.target printer.target && \
$(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \
@@ -970,11 +971,10 @@ install-data-hook:
$(LN_S) multi-user.target runlevel4.target && \
$(LN_S) graphical.target runlevel5.target && \
$(LN_S) reboot.target runlevel6.target )
- ( cd $(DESTDIR)$(pkgsysconfdir)/system && \
- rm -f default.target ctrl-alt-del.target kbrequest.target && \
- $(LN_S) $(systemunitdir)/graphical.target default.target && \
- $(LN_S) $(systemunitdir)/reboot.target ctrl-alt-del.target && \
- $(LN_S) $(systemunitdir)/rescue.target kbrequest.target )
+ ( cd $(DESTDIR)$(systemunitdir) && \
+ rm -f default.target ctrl-alt-del.target && \
+ $(LN_S) graphical.target default.target && \
+ $(LN_S) reboot.target ctrl-alt-del.target )
( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \
$(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \
@@ -1004,12 +1004,12 @@ install-data-hook:
$(LN_S) ../proc-sys-fs-binfmt_misc.automount proc-sys-fs-binfmt_misc.automount && \
$(LN_S) ../sys-kernel-debug.automount sys-kernel-debug.automount && \
$(LN_S) ../sys-kernel-security.automount sys-kernel-security.automount && \
- $(LN_S) ../systemd-vconsole-setup.service && \
- $(LN_S) ../systemd-modules-load.service && \
- $(LN_S) ../systemd-random-seed-load.service && \
- $(LN_S) ../sysctl.service && \
- $(LN_S) ../tmpwatch.timer && \
- $(LN_S) ../tmpwatch.service )
+ $(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) ../sysctl.service sysctl.service && \
+ $(LN_S) ../tmpwatch.timer tmpwatch.timer && \
+ $(LN_S) ../tmpwatch.service tmpwatch.service )
( cd $(DESTDIR)$(dbussessionservicedir) && \
rm -f org.freedesktop.systemd1.service && \
$(LN_S) ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
diff --git a/fixme b/fixme
index 38c7dbd2d4..3688ff4b0a 100644
--- a/fixme
+++ b/fixme
@@ -59,8 +59,6 @@
* bash completion a la gdbus
-* [Install] section rausmachen für early boot krams, uznd per default nach /lib linken
-
* systemctl list-jobs deps anzeigen
* ConditionFileExists=, ConditionKernelCommandLine=, ConditionEnvironment= mit !
@@ -83,8 +81,6 @@
* support dbus introspection in mid-level object paths, i.e. in /org/freedesktop/systemd/units/.
-* default.target auch in /lib linken
-
* systemctl auto-pager a la git
* fsck setup