mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
mkinitcpio: fix consolefont hook
This commit is contained in:
parent
690981e9cf
commit
29cdfe4e82
2 changed files with 32 additions and 1 deletions
31
srcpkgs/mkinitcpio/patches/setfont.patch
Normal file
31
srcpkgs/mkinitcpio/patches/setfont.patch
Normal file
|
@ -0,0 +1,31 @@
|
|||
https://gitlab.archlinux.org/archlinux/mkinitcpio/mkinitcpio/-/merge_requests/259
|
||||
|
||||
From 889b1c39653e66b5492b01cd34892506a9a5e9ee Mon Sep 17 00:00:00 2001
|
||||
From: classabbyamp <dev@placeviolette.net>
|
||||
Date: Tue, 12 Sep 2023 22:31:36 -0400
|
||||
Subject: [PATCH] install/consolefont: include setfont binary
|
||||
|
||||
if not using the sd-vconsole hook (like on Void Linux, where there is no
|
||||
systemd), setfont is not available unless manually added to BINARIES.
|
||||
This also ensures this hook is fully modular and does not rely on other
|
||||
hooks to work.
|
||||
---
|
||||
install/consolefont | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/install/consolefont b/install/consolefont
|
||||
index 0ec554e1..36451912 100644
|
||||
--- a/install/consolefont
|
||||
+++ b/install/consolefont
|
||||
@@ -6,6 +6,8 @@ build() {
|
||||
# shellcheck disable=SC2034
|
||||
local KEYMAP KEYMAP_TOGGLE FONT FONT_MAP FONT_UNIMAP XKBLAYOUT XKBMODEL XKBVARIANT XKBOPTIONS
|
||||
|
||||
+ add_binary setfont
|
||||
+
|
||||
# subshell to avoid namespace pollution
|
||||
(
|
||||
# shellcheck disable=SC1091
|
||||
--
|
||||
GitLab
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'mkinitcpio'
|
||||
pkgname=mkinitcpio
|
||||
version=36
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="asciidoc"
|
||||
depends="busybox-static bsdtar bash"
|
||||
|
|
Loading…
Add table
Reference in a new issue