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
|
@ -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'
|
||||
pkgname=dracut
|
||||
version=059
|
||||
revision=6
|
||||
revision=7
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --sysconfdir=/etc"
|
||||
conf_files="/etc/dracut.conf"
|
||||
|
|
Loading…
Reference in New Issue