Added more tests
This commit is contained in:
@@ -151,8 +151,8 @@ configure_boot() {
|
||||
|
||||
# Copy kernel to ESP
|
||||
if [ -f "${MOUNT_POINT}/boot/vmlinuz" ]; then
|
||||
cp "${MOUNT_POINT}/boot/vmlinuz" "${MOUNT_POINT}/boot/efi/EFI/Linux/vmlinuz.efi"
|
||||
mkdir -p "${MOUNT_POINT}/boot/efi/EFI/Linux"
|
||||
cp "${MOUNT_POINT}/boot/vmlinuz" "${MOUNT_POINT}/boot/efi/EFI/Linux/vmlinuz.efi"
|
||||
ok "Kernel copied to ESP"
|
||||
else
|
||||
warn "No kernel found — you'll need to install one before booting"
|
||||
|
||||
Reference in New Issue
Block a user