summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/system-update-generator/system-update-generator.c13
-rw-r--r--units/system-update.target2
2 files changed, 1 insertions, 14 deletions
diff --git a/src/system-update-generator/system-update-generator.c b/src/system-update-generator/system-update-generator.c
index d148550e7c..abda5a0190 100644
--- a/src/system-update-generator/system-update-generator.c
+++ b/src/system-update-generator/system-update-generator.c
@@ -60,19 +60,6 @@ static int generate_symlink(void) {
free(p);
- /* Also try to disable readahead, but don't try too hard */
- p = strappend(arg_dest, "/systemd-readahead-collect.service");
- if (p) {
- symlink("/dev/null", p);
- free(p);
- }
-
- p = strappend(arg_dest, "/systemd-readahead-replay.service");
- if (p) {
- symlink("/dev/null", p);
- free(p);
- }
-
return 0;
}
diff --git a/units/system-update.target b/units/system-update.target
index 5f638792d1..381f3f9a6a 100644
--- a/units/system-update.target
+++ b/units/system-update.target
@@ -10,7 +10,7 @@ Description=System Update
Documentation=http://freedesktop.org/wiki/Software/systemd/SystemUpdates
Documentation=man:systemd.special(7)
Requires=sysinit.target
-Conflicts=shutdown.target
+Conflicts=shutdown.target systemd-readahead-collect.service systemd-readahead-replay.service
After=sysinit.target
Before=shutdown.target
AllowIsolate=yes