mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
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.
This commit is contained in:
parent
b19fb12543
commit
aecb124928
2 changed files with 20 additions and 1 deletions
19
srcpkgs/dracut/patches/silence-setfont.patch
Normal file
19
srcpkgs/dracut/patches/silence-setfont.patch
Normal file
|
@ -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() {
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'dracut'
|
# Template file for 'dracut'
|
||||||
pkgname=dracut
|
pkgname=dracut
|
||||||
version=059
|
version=059
|
||||||
revision=6
|
revision=7
|
||||||
build_style=configure
|
build_style=configure
|
||||||
configure_args="--prefix=/usr --sysconfdir=/etc"
|
configure_args="--prefix=/usr --sysconfdir=/etc"
|
||||||
conf_files="/etc/dracut.conf"
|
conf_files="/etc/dracut.conf"
|
||||||
|
|
Loading…
Add table
Reference in a new issue