Commit 4ac4253
tests: Skip --bootloader flag for UKI images in install-outside-container
For UKI (Unified Kernel Image) images, the boot setup is handled
differently than BLS (Type1) images. UKI images have the kernel,
initrd, and cmdline bundled in a single .efi file at /boot/EFI/Linux/.
When installing a UKI image with --composefs-backend, passing
--bootloader=systemd causes the install to go through the BLS boot
setup path which doesn't work for UKI images.
Fix this by checking the bootType from status and skipping the
--bootloader flag for UKI images, allowing the UKI boot setup
to handle it correctly.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Signed-off-by: Xiaofeng Wang <henrywangxf@me.com>1 parent b64bed4 commit 4ac4253
1 file changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
0 commit comments