public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/kmscon] rawhide: Use agetty on Fedora
@ 2026-06-05 14:52 Stephen Gallagher
0 siblings, 0 replies; only message in thread
From: Stephen Gallagher @ 2026-06-05 14:52 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/kmscon
Branch : rawhide
Commit : 7dadb00e9792e9ea1eda725c47e06f409bba4821
Author : Stephen Gallagher <sgallagh@redhat.com>
Date : 2026-06-05T09:58:33-04:00
Stats : +36/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/kmscon/c/7dadb00e9792e9ea1eda725c47e06f409bba4821?branch=rawhide
Log:
Use agetty on Fedora
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
---
diff --git a/0001-Use-agetty-on-Fedora.patch b/0001-Use-agetty-on-Fedora.patch
new file mode 100644
index 0000000..c1f9097
--- /dev/null
+++ b/0001-Use-agetty-on-Fedora.patch
@@ -0,0 +1,30 @@
+From b4cc9b41306feaa37d600732993929090a73f2e8 Mon Sep 17 00:00:00 2001
+From: Stephen Gallagher <sgallagh@redhat.com>
+Date: Fri, 5 Jun 2026 09:46:55 -0400
+Subject: [PATCH] Use agetty on Fedora
+
+The upstream kmscon support for /usr/lib/issue.d is lacking and we need
+this for Fedora Server and Fedora ELN to inform the user of the Cockpit
+console address.
+
+Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
+---
+ scripts/systemd/kmsconvt@.service.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/scripts/systemd/kmsconvt@.service.in b/scripts/systemd/kmsconvt@.service.in
+index f86e5a9bb3de9d665e01dccfbb6ff551ccdd96ab..152bac2fbcaccc4c5f9c3b452b55458aa4645334 100644
+--- a/scripts/systemd/kmsconvt@.service.in
++++ b/scripts/systemd/kmsconvt@.service.in
+@@ -39,7 +39,7 @@ ConditionPathExists=/dev/tty0
+
+ [Service]
+ @PAM_CFG@
+-ExecStart=kmscon --vt=%I --no-switchvt
++ExecStart=kmscon --vt=%I --no-switchvt --no-issue --login -- /usr/bin/agetty -o '-p -- \\u' --noclear -- - $$TERM
+ UtmpIdentifier=%I
+ TTYPath=/dev/%I
+ TTYReset=yes
+--
+2.54.0
+
diff --git a/kmscon.spec b/kmscon.spec
index 7875ca9..cee55b3 100644
--- a/kmscon.spec
+++ b/kmscon.spec
@@ -31,6 +31,12 @@ BuildRequires: pkgconfig(zlib)
Patch: localectl_support.patch
+# Temporary downstream patch until kmscon natively supports /usr/lib/issue.d
+# This is needed by Fedora Server and Fedora ELN to display the Cockpit
+# console URL at the login prompt.
+# See https://github.com/kmscon/kmscon/issues/407 for more details
+Patch: 0001-Use-agetty-on-Fedora.patch
+
%description
Kmscon is a simple terminal emulator based on linux kernel mode setting (KMS).
It is an attempt to replace the in-kernel VT implementation with a userspace
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-05 14:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-05 14:52 [rpms/kmscon] rawhide: Use agetty on Fedora Stephen Gallagher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox