Replace link with copy because vfat can handle links.

This commit is contained in:
oddlama 2020-04-25 18:48:48 +02:00
parent 18674a4b0c
commit 2420251b28
No known key found for this signature in database
GPG Key ID: 88EA325D51D53908
1 changed files with 2 additions and 2 deletions

View File

@ -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"