File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -126,10 +126,10 @@ $NOTIFY --expire-time=5000 "Kernel update process done"
126
126
127
127
printf " \n Reinstating the new kernel to efi directory.....\n"
128
128
129
- find /boot/efi -maxdepth 1 -name " *Gentoo*" -type f -exec rm -f {} \;
129
+ find /boot/efi/ -maxdepth 1 -name " *Gentoo*" -type f -exec rm -f {} \;
130
130
131
- cp -v /boot/vmlinuz-${kernel} -Gentoo /boot/efi/
132
- cp -v /boot/initramfs-${kernel} -Gentoo.img /boot/efi/
131
+ find /boot/ -maxdepth 1 -type f -name " vmlinuz-${kernel} -Gentoo" -exec cp {} /boot/efi/ \;
132
+ find /boot/ -maxdepth 1 -type f -name " initramfs-${kernel} -Gentoo.img" -exec cp {} /boot/efi/ \;
133
133
134
134
printf " \n Changing the boot loader config file.....\n"
135
135
sed -i ' 3d' /boot/efi/loader/entries/Gentoo.conf
You can’t perform that action at this time.
0 commit comments