Commit d3f09cf3 authored by Kay Sievers's avatar Kay Sievers

units: always enable random-seed, module-load, vconsole

parent fa70128d
......@@ -940,8 +940,10 @@ install-data-hook:
rm -f systemd-update-utmp-runlevel.service && \
$(LN_S) ../systemd-update-utmp-runlevel.service )
( cd $(DESTDIR)$(systemunitdir)/shutdown.target.wants && \
rm -f systemd-update-utmp-shutdown.service && \
$(LN_S) ../systemd-update-utmp-shutdown.service )
rm -f systemd-update-utmp-shutdown.service \
systemd-random-seed-save.service && \
$(LN_S) ../systemd-update-utmp-shutdown.service && \
$(LN_S) ../systemd-random-seed-save.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 && \
......@@ -982,6 +984,9 @@ install-data-hook:
proc-sys-fs-binfmt_misc.automount \
sys-kernel-debug.automount \
sys-kernel-security.automount \
systemd-vconsole-setup.service \
systemd-modules-load.service \
systemd-random-seed-load.service \
tmpwatch.timer \
tmpwatch.service && \
$(LN_S) ../dev-hugepages.automount dev-hugepages.automount && \
......@@ -989,6 +994,9 @@ 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) ../tmpwatch.timer && \
$(LN_S) ../tmpwatch.service )
( cd $(DESTDIR)$(dbussessionservicedir) && \
......
......@@ -15,6 +15,3 @@ Before=shutdown.target
Type=oneshot
RemainAfterExit=yes
ExecStart=@rootlibexecdir@/systemd-modules-load
[Install]
WantedBy=sysinit.target
......@@ -15,6 +15,3 @@ Before=shutdown.target
[Service]
Type=oneshot
ExecStart=@rootlibexecdir@/systemd-random-seed load
[Install]
WantedBy=sysinit.target
......@@ -14,6 +14,3 @@ Conflicts=systemd-random-seed-load.service
[Service]
Type=oneshot
ExecStart=@rootlibexecdir@/systemd-random-seed save
[Install]
WantedBy=shutdown.target
......@@ -15,6 +15,3 @@ Before=shutdown.target
Type=oneshot
RemainAfterExit=yes
ExecStart=@rootlibexecdir@/systemd-vconsole-setup
[Install]
WantedBy=sysinit.target
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment