Update
This commit is contained in:
parent
ddc05c2ca5
commit
1960a080d7
|
@ -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
|
||||
|
|
Binary file not shown.
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue