added a patch to fix adding keymap includes causing systemd-vconsole startup error with host-only initramfs [release 057-2mamba;Sat Jul 02 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 21:56:19 +01:00
parent 320a794f00
commit b8838cc432
2 changed files with 17 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- dracut-057/modules.d/10i18n/module-setup.sh.orig 2022-07-02 17:22:18.108534561 +0200
+++ dracut-057/modules.d/10i18n/module-setup.sh 2022-07-02 17:22:27.486491547 +0200
@@ -63,7 +63,7 @@
readarray -t INCLUDES < <("$CMD" '^include ' "$MAP" | while read -r _ a _ || [ -n "$a" ]; do echo "${a//\"/}"; done)
for INCL in "${INCLUDES[@]}"; do
- for FN in "$dracutsysrootdir""${kbddir}"/keymaps/**/"$INCL"*; do
+ for FN in "$dracutsysrootdir""${kbddir}"/keymaps/*/*/"$INCL"*; do
[[ -f $FN ]] || continue
[[ -v KEYMAPS["$FN"] ]] || findkeymap "$FN"
done

View File

@ -1,6 +1,6 @@
Name: dracut
Version: 057
Release: 1mamba
Release: 2mamba
Summary: Generic, modular initramfs generation tool that can be used across various distributions
Group: System/Kernel and Hardware
Vendor: openmamba
@ -26,6 +26,7 @@ Patch22: dracut-040-add_systemd_journald_socket.patch
Patch23: dracut-044-bash-4.4.patch
Patch24: dracut-049-squash-live-systemd-240.patch
Patch25: dracut-055-bluetooth-lib64-fix.patch
Patch26: dracut-057-i18n-fix-adding-keymaps-includes.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -114,6 +115,7 @@ This package conatins extra optional modules for dracut.
%ifarch x86_64 aarch64
%patch25 -p1
%endif
%patch26 -p1
#chmod +x modules.d/99squash-live/*
@ -428,6 +430,9 @@ fi
#%doc NEWS README README.generic README.kernel README.modules TODO
%changelog
* Sat Jul 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 057-2mamba
- added a patch to fix adding keymap includes causing systemd-vconsole startup error with host-only initramfs
* Wed Jun 22 2022 Automatic Build System <autodist@mambasoft.it> 057-1mamba
- automatic version update by autodist