742890720c
- Add fix-dir-noatime-tmpfiles.patch: do not modify directory atime, which was preventing removing empty directories (bnc#751253, rh#810257). - Add improve-restart-behaviour.patch: prevent deadlock during try-restart (bnc#743218). - Add journal-bugfixes.patch: don't crash when rotating journal (bnc#768953) and prevent memleak at rotation time too. - Add ulimit-support.patch: add support for system wide ulimit (bnc#744818). - Add change-terminal.patch: use vt102 instead of vt100 as terminal for non-vc tty. - Package various .wants directories, which were no longer packaged due to plymouth units being removed from systemd package. - Fix buildrequires for manpages build. (forwarded request 127017 from fcrozat) OBS-URL: https://build.opensuse.org/request/show/127019 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=103
38 lines
1.3 KiB
Diff
38 lines
1.3 KiB
Diff
From 1505a61772a6e697f2aabdbb0e827a88b0d7ee6b Mon Sep 17 00:00:00 2001
|
|
From: Lennart Poettering <lennart@poettering.net>
|
|
Date: Sun, 22 Apr 2012 02:45:39 +0200
|
|
Subject: [PATCH] default to v102 everywhere, instead of vt100, to synchronize
|
|
with agetty
|
|
|
|
---
|
|
src/util.c | 2 +-
|
|
units/serial-getty@.service.m4 | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
Index: systemd-44/src/util.c
|
|
===================================================================
|
|
--- systemd-44.orig/src/util.c
|
|
+++ systemd-44/src/util.c
|
|
@@ -4425,7 +4425,7 @@ bool tty_is_vc_resolve(const char *tty)
|
|
const char *default_term_for_tty(const char *tty) {
|
|
assert(tty);
|
|
|
|
- return tty_is_vc_resolve(tty) ? "TERM=linux" : "TERM=vt100";
|
|
+ return tty_is_vc_resolve(tty) ? "TERM=linux" : "TERM=vt102";
|
|
}
|
|
|
|
bool dirent_is_file(const struct dirent *de) {
|
|
Index: systemd-44/units/serial-getty@.service.m4
|
|
===================================================================
|
|
--- systemd-44.orig/units/serial-getty@.service.m4
|
|
+++ systemd-44/units/serial-getty@.service.m4
|
|
@@ -35,7 +35,7 @@ Before=getty.target
|
|
IgnoreOnIsolate=yes
|
|
|
|
[Service]
|
|
-Environment=TERM=vt100
|
|
+Environment=TERM=vt102
|
|
ExecStart=-/sbin/agetty -s %I 115200,38400,9600
|
|
Restart=always
|
|
RestartSec=0
|