* [PR PATCH] dracut: silence spurious setfont stderr warning
@ 2024-02-03 5:52 zdykstra
2024-02-15 3:55 ` [PR PATCH] [Merged]: " classabbyamp
0 siblings, 1 reply; 2+ messages in thread
From: zdykstra @ 2024-02-03 5:52 UTC (permalink / raw)
To: ml
[-- 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"
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PR PATCH] [Merged]: dracut: silence spurious setfont stderr warning
2024-02-03 5:52 [PR PATCH] dracut: silence spurious setfont stderr warning zdykstra
@ 2024-02-15 3:55 ` classabbyamp
0 siblings, 0 replies; 2+ messages in thread
From: classabbyamp @ 2024-02-15 3:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 453 bytes --]
There's a merged pull request on the void-packages repository
dracut: silence spurious setfont stderr warning
https://github.com/void-linux/void-packages/pull/48503
Description:
<!-- 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-02-15 3:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-03 5:52 [PR PATCH] dracut: silence spurious setfont stderr warning zdykstra
2024-02-15 3:55 ` [PR PATCH] [Merged]: " classabbyamp
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).