Added more tests

This commit is contained in:
2026-03-20 07:32:37 +01:00
parent 826c1c890a
commit 88e8411ec3
5 changed files with 463 additions and 77 deletions

View File

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