b8b836245b
- Add systemctl-options.patch: handle SYSTEMCTL_OPTIONS internaly (bnc#798620). - Update crypt-loop-file.patch to correctly detect crypto loop files (bnc#799514). - Add journalctl-remove-leftover-message.patch: remove debug message in systemctl. - Add job-avoid-recursion-when-cancelling.patch: prevent potential recursion when cancelling a service. - Add sysctl-parse-all-keys.patch: ensure sysctl file is fully parsed. - Add journal-fix-cutoff-max-date.patch: fix computation of cutoff max date for journal. - Add reword-rescue-mode-hints.patch: reword rescue prompt. - Add improve-overflow-checks.patch: improve time overflow checks. - Add fix-swap-behaviour-with-symlinks.patch: fix swap behaviour with symlinks. - Add hostnamectl-fix-set-hostname-with-no-argument.patch: ensure hostnamectl requires an argument when called with set-hostname option. - Add agetty-overrides-term.patch: pass correctly terminal type to agetty. - Add check-for-empty-strings-in-strto-conversions.patch: better check for empty strings in strto* conversions. - Add strv-cleanup-error-path-loops.patch: cleanup strv on error path. - Add cryptsetup-handle-plain.patch: correctly handle "plain" option in cryptsetup. - Add fstab-generator-improve-error-message.patch: improve error message in fstab-generator. - Add delta-accept-t-option.patch: accept -t option in OBS-URL: https://build.opensuse.org/request/show/149703 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=331
48 lines
1.4 KiB
Diff
48 lines
1.4 KiB
Diff
From 2161de72c517d34d1ceb9b4c1a300f0b54ce5a9c Mon Sep 17 00:00:00 2001
|
|
From: Michal Schmidt <mschmidt@redhat.com>
|
|
Date: Mon, 29 Oct 2012 21:59:34 +0100
|
|
Subject: [PATCH] units: agetty overrides TERM
|
|
|
|
Environment=TERM=... has no effect on agetty who sets it by itself. To
|
|
really set TERM to a specified value, it has to be given on the command
|
|
line.
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=870622
|
|
---
|
|
units/getty@.service.m4 | 3 +--
|
|
units/serial-getty@.service.m4 | 3 +--
|
|
2 files changed, 2 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/units/getty@.service.m4 b/units/getty@.service.m4
|
|
index b5875ce..810c23f 100644
|
|
--- a/units/getty@.service.m4
|
|
+++ b/units/getty@.service.m4
|
|
@@ -43,9 +43,8 @@ IgnoreOnIsolate=yes
|
|
ConditionPathExists=/dev/tty0
|
|
|
|
[Service]
|
|
-Environment=TERM=linux
|
|
# the VT is cleared by TTYVTDisallocate
|
|
-ExecStart=-/sbin/agetty --noclear %I 38400
|
|
+ExecStart=-/sbin/agetty --noclear %I 38400 linux
|
|
Type=idle
|
|
Restart=always
|
|
RestartSec=0
|
|
diff --git a/units/serial-getty@.service.m4 b/units/serial-getty@.service.m4
|
|
index a6bbd71..c411dc1 100644
|
|
--- a/units/serial-getty@.service.m4
|
|
+++ b/units/serial-getty@.service.m4
|
|
@@ -39,8 +39,7 @@ Before=getty.target
|
|
IgnoreOnIsolate=yes
|
|
|
|
[Service]
|
|
-Environment=TERM=vt102
|
|
-ExecStart=-/sbin/agetty -s %I 115200,38400,9600
|
|
+ExecStart=-/sbin/agetty -s %I 115200,38400,9600 vt102
|
|
Type=idle
|
|
Restart=always
|
|
RestartSec=0
|
|
--
|
|
1.7.10.4
|
|
|