Replace link with copy because vfat can handle links.
This commit is contained in:
parent
18674a4b0c
commit
2420251b28
|
@ -185,8 +185,8 @@ install_kernel_bios() {
|
||||||
kernel_file="$(find "/boot" -name "vmlinuz-*" -printf '%f\n' | sort -V | tail -n 1)" \
|
kernel_file="$(find "/boot" -name "vmlinuz-*" -printf '%f\n' | sort -V | tail -n 1)" \
|
||||||
|| die "Could not list newest kernel file"
|
|| die "Could not list newest kernel file"
|
||||||
|
|
||||||
ln -s "$kernel_file" "/boot/vmlinuz-current" \
|
cp "/boot/$kernel_file" "/boot/vmlinuz-current" \
|
||||||
|| die "Could create link to current kernel"
|
|| die "Could copy kernel to /boot/vmlinuz-current"
|
||||||
|
|
||||||
# Generate initramfs
|
# Generate initramfs
|
||||||
generate_initramfs "/boot/initramfs.img"
|
generate_initramfs "/boot/initramfs.img"
|
||||||
|
|
Loading…
Reference in New Issue