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 6730063..0000000 Binary files a/usr/share/libalpm/hooks/.10-refind-menu-pre-install.hook.kate-swp and /dev/null differ 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]