From: zdykstra <zdykstra@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] dracut: silence spurious setfont stderr warning
Date: Sat, 03 Feb 2024 06:52:04 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48503@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 619 bytes --]
There is a new pull request by zdykstra against master on the void-packages repository
https://github.com/zdykstra/void-packages dracut-is-a-disaster
https://github.com/void-linux/void-packages/pull/48503
dracut: silence spurious setfont stderr warning
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **YES**
This error has been here for years, but unreported by setfont until recently. Throw it away as it's not actionable.
A patch file from https://github.com/void-linux/void-packages/pull/48503.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-dracut-is-a-disaster-48503.patch --]
[-- Type: text/x-diff, Size: 1827 bytes --]
From 84ef95d4214c775247af18c192f8f9655e7c5425 Mon Sep 17 00:00:00 2001
From: Zach Dykstra <dykstra.zachary@gmail.com>
Date: Fri, 2 Feb 2024 23:46:21 -0600
Subject: [PATCH] dracut: silence spurious setfont stderr warning
This error has been here for years, but unreported by setfont. Throw it
away as it's not actionable.
---
srcpkgs/dracut/patches/silence-setfont.patch | 19 +++++++++++++++++++
srcpkgs/dracut/template | 2 +-
2 files changed, 20 insertions(+), 1 deletion(-)
create mode 100644 srcpkgs/dracut/patches/silence-setfont.patch
diff --git a/srcpkgs/dracut/patches/silence-setfont.patch b/srcpkgs/dracut/patches/silence-setfont.patch
new file mode 100644
index 0000000000000..377c0f3a8981a
--- /dev/null
+++ b/srcpkgs/dracut/patches/silence-setfont.patch
@@ -0,0 +1,19 @@
+https://github.com/void-linux/void-packages/issues/45216
+
+I'm tired of seeing these setfont errors. This will hopefully/eventually be upstreamed, but I'm not holding my breath.
+
+---
+
+diff --git a/modules.d/10i18n/console_init.sh b/modules.d/10i18n/console_init.sh
+index 3fe3b673..0e19ae30 100755
+--- a/modules.d/10i18n/console_init.sh
++++ b/modules.d/10i18n/console_init.sh
+@@ -49,7 +49,7 @@ set_font() {
+ setfont "${FONT-${DEFAULT_FONT}}" \
+ -C "${1}" \
+ ${FONT_MAP:+-m "${FONT_MAP}"} \
+- ${FONT_UNIMAP:+-u "${FONT_UNIMAP}"}
++ ${FONT_UNIMAP:+-u "${FONT_UNIMAP}"} 2>/dev/null
+ }
+
+ dev_close() {
diff --git a/srcpkgs/dracut/template b/srcpkgs/dracut/template
index 66231d6ff4d8b..313e2d9871935 100644
--- a/srcpkgs/dracut/template
+++ b/srcpkgs/dracut/template
@@ -1,7 +1,7 @@
# Template file for 'dracut'
pkgname=dracut
version=059
-revision=6
+revision=7
build_style=configure
configure_args="--prefix=/usr --sysconfdir=/etc"
conf_files="/etc/dracut.conf"
next reply other threads:[~2024-02-03 5:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-03 5:52 zdykstra [this message]
2024-02-15 3:55 ` [PR PATCH] [Merged]: " classabbyamp
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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-48503@inbox.vuxu.org \
--to=zdykstra@users.noreply.github.com \
--cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).