public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Andrea Bolognani <abologna@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/fedora-release] f45: Tweak /etc/issue to avoid incorrect English
Date: Mon, 10 Aug 2026 09:36:45 GMT	[thread overview]
Message-ID: <178635460539.1.10645416387444661604.rpms-fedora-release-6f8f8f023351@fedoraproject.org> (raw)

            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

                 reply	other threads:[~2026-08-10  9:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178635460539.1.10645416387444661604.rpms-fedora-release-6f8f8f023351@fedoraproject.org \
    --to=abologna@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox