summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:13:04 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 19:15:17 +0000
commit376384a4a85d9d72db77793da63949e9bbf030bf (patch)
treeabea7812500d0654264ec70db372b7893fd822ea
parentRemoving setuid bit from /bin/su. (diff)
downloadutil-linux-376384a4a85d9d72db77793da63949e9bbf030bf.tar.xz
util-linux-376384a4a85d9d72db77793da63949e9bbf030bf.zip
Updating agetty login prompt.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0001-agetty-prompt.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0001-agetty-prompt.patch b/debian/patches/progress-linux/0001-agetty-prompt.patch
new file mode 100644
index 0000000..2070849
--- /dev/null
+++ b/debian/patches/progress-linux/0001-agetty-prompt.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting agetty login prompt to 'Login: '.
+
+diff -Naurp util-linux.orig/term-utils/agetty.c util-linux/term-utils/agetty.c
+--- util-linux.orig/term-utils/agetty.c
++++ util-linux/term-utils/agetty.c
+@@ -147,7 +147,7 @@
+ #endif
+
+ /* Login prompt. */
+-#define LOGIN_PROMPT "login: "
++#define LOGIN_PROMPT "Login: "
+
+ /* Numbers of args for login(1) */
+ #define LOGIN_ARGV_MAX 16
diff --git a/debian/patches/series b/debian/patches/series
index 79a5537..b1351af 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@ upstream/setarch-add-riscv64-riscv32-support.patch
upstream/cfdisk-fix-menu-behavior-after-writing-changes.patch
upstream/fincore-tests-also-use-nosize-error-file.patch
upstream/build-only-build-test_enosys-if-an-audit-arch-exists.patch
+progress-linux/0001-agetty-prompt.patch