From 1960a080d7ad608774b6122e19969c3cba15de22 Mon Sep 17 00:00:00 2001 From: Valeria Fadeeva Date: Wed, 18 Oct 2023 13:25:15 +0500 Subject: [PATCH] Update --- usr/bin/refind-menu-generator | 4 ++++ .../.10-refind-menu-pre-install.hook.kate-swp | Bin 289 -> 0 bytes .../libalpm/hooks/10-refind-menu-pre-install.hook | 1 + 3 files changed, 5 insertions(+) delete mode 100644 usr/share/libalpm/hooks/.10-refind-menu-pre-install.hook.kate-swp diff --git a/usr/bin/refind-menu-generator b/usr/bin/refind-menu-generator index a409d50..b1a0b8c 100755 --- a/usr/bin/refind-menu-generator +++ b/usr/bin/refind-menu-generator @@ -90,6 +90,10 @@ if [ -d $KERNEL_DIR ]; then CMDLINE=$(sed -e 's/^[[:space:]]//g' -e 's/[[:space:]]$//g' "/etc/kernel/cmdline") elif [ -f "/boot/refind_linux.conf" ]; then CMDLINE=$(cat "/boot/refind_linux.conf" | head -n 1 | sed -e 's|"Boot with standard options"||g' | awk '{$1=$1;print}' | sed -e 's/"//g') + elif [ -f "/efi/refind_linux.conf" ]; then + CMDLINE=$(cat "/efi/refind_linux.conf" | head -n 1 | sed -e 's|"Boot with standard options"||g' | awk '{$1=$1;print}' | sed -e 's/"//g') + elif [ -f "/boot//efi/refind_linux.conf" ]; then + CMDLINE=$(cat "/boot/efi/refind_linux.conf" | head -n 1 | sed -e 's|"Boot with standard options"||g' | awk '{$1=$1;print}' | sed -e 's/"//g') else CMDLINE=$(sed -e 's/^[[:space:]]//g' -e 's/[[:space:]]$//g' -e 's/initrd.*$//g' "/proc/cmdline") fi diff --git a/usr/share/libalpm/hooks/.10-refind-menu-pre-install.hook.kate-swp b/usr/share/libalpm/hooks/.10-refind-menu-pre-install.hook.kate-swp deleted file mode 100644 index 6730063d3b96b224ec1531ddecdb13d1225a6a76..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 289 zcmZQzU=Z?7EJ;-eE>A2_aLdd|RWQ;sU|?Vn(F^-xQZ`d!ed|9#vHHWW<~^8u^;B>; zP=*JHWnF_kffO$ggMe&EVo`c(iGr;{X>pN$Qf8ihN>O5RX^C!Wc4k_oYj6-y4M?p7 zNG(hwh{KqPFh~-_&qMH~(B!2-{1Sw`42WNZ;LC#ei3q+Nh@Xq#%Y*pE2*-f<3TV=4 J2)+VDIRIkgE))O& diff --git a/usr/share/libalpm/hooks/10-refind-menu-pre-install.hook b/usr/share/libalpm/hooks/10-refind-menu-pre-install.hook index 2e56f43..6d45773 100644 --- a/usr/share/libalpm/hooks/10-refind-menu-pre-install.hook +++ b/usr/share/libalpm/hooks/10-refind-menu-pre-install.hook @@ -11,6 +11,7 @@ Target = usr/lib/systemd/systemd Target = usr/lib/systemd/boot/efi/*.efi.stub Target = usr/share/libalpm/hooks/90-refind-menu-install.hook Target = usr/bin/dracut-ukify +Target = usr/bin/dracut-initramfs Target = usr/src/*/dkms.conf [Action]