From e9935d01ee5626fadd791b4aa27126b3f022a003 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20Sch=C3=A4fer?= Date: Wed, 14 Jul 2021 12:26:24 +0200 Subject: [PATCH] Increase size of efi fat image For ISO images an embedded efi fat image is needed to boot. As consequence of adding the mok manager it can happen that the size of the efi fat image is too small. With this commit the size is increased to prevent an out of space issue --- kiwi/bootloader/config/grub2.py | 2 +- test/unit/bootloader/config/grub2_test.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kiwi/bootloader/config/grub2.py b/kiwi/bootloader/config/grub2.py index e3fada4dd00..d25c3c2f282 100644 --- a/kiwi/bootloader/config/grub2.py +++ b/kiwi/bootloader/config/grub2.py @@ -824,7 +824,7 @@ def _create_embedded_fat_efi_image(self): [self.boot_dir + '/boot/', self.arch, '/efi'] ) Command.run( - ['qemu-img', 'create', efi_fat_image, '15M'] + ['qemu-img', 'create', efi_fat_image, '20M'] ) Command.run( ['mkdosfs', '-n', 'BOOT', efi_fat_image] diff --git a/test/unit/bootloader/config/grub2_test.py b/test/unit/bootloader/config/grub2_test.py index 10e7efa6a79..b110b95cd66 100644 --- a/test/unit/bootloader/config/grub2_test.py +++ b/test/unit/bootloader/config/grub2_test.py @@ -300,7 +300,7 @@ def test_write( assert mock_command.call_args_list == [ call( [ - 'qemu-img', 'create', 'root_dir/boot/x86_64/efi', '15M' + 'qemu-img', 'create', 'root_dir/boot/x86_64/efi', '20M' ] ), call(