public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/fedora-release] f45: Tweak /etc/issue to avoid incorrect English
@ 2026-08-10  9:36 Andrea Bolognani
  0 siblings, 0 replies; only message in thread
From: Andrea Bolognani @ 2026-08-10  9:36 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/fedora-release
            Branch : f45
            Commit : 6f8f8f023351bb3bf072c3906e00c0c91974e512
            Author : Andrea Bolognani <abologna@redhat.com>
            Date   : 2025-02-05T17:50:35+01:00
            Stats  : +2/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/fedora-release/c/6f8f8f023351bb3bf072c3906e00c0c91974e512?branch=f45

            Log:
            Tweak /etc/issue to avoid incorrect English

Currently the message displayed above the login prompt on virtual
consoles looks like this:

  Fedora Linux 41 (Server Edition)
  Kernel 6.12.10-200.fc41.x86_64 on an x86_64 (ttS0)

The "on an $arch" part results in correct English for some of
the existing architectures (e.g. x86_64 and aarch64) but not
for some others (e.g. ppc64le and riscv64).

Tweak the message so that correct English is produced regardless
of the architecture.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>

---
diff --git a/fedora-release.spec b/fedora-release.spec
index dd2dac6..ac8f76d 100644
--- a/fedora-release.spec
+++ b/fedora-release.spec
@@ -1565,13 +1565,13 @@ EOF
 
 # Create the common /etc/issue
 echo "\S" > %{buildroot}%{_prefix}/lib/issue
-echo "Kernel \r on an \m (\l)" >> %{buildroot}%{_prefix}/lib/issue
+echo "Kernel \r on \m (\l)" >> %{buildroot}%{_prefix}/lib/issue
 echo >> %{buildroot}%{_prefix}/lib/issue
 ln -s ../usr/lib/issue %{buildroot}%{_sysconfdir}/issue
 
 # Create /etc/issue.net
 echo "\S" > %{buildroot}%{_prefix}/lib/issue.net
-echo "Kernel \r on an \m (\l)" >> %{buildroot}%{_prefix}/lib/issue.net
+echo "Kernel \r on \m (\l)" >> %{buildroot}%{_prefix}/lib/issue.net
 ln -s ../usr/lib/issue.net %{buildroot}%{_sysconfdir}/issue.net
 
 # Create /etc/issue.d

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-10  9:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-10  9:36 [rpms/fedora-release] f45: Tweak /etc/issue to avoid incorrect English Andrea Bolognani

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox