Skip to content

Commit

Permalink
Increase size of efi fat image
Browse files Browse the repository at this point in the history
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
  • Loading branch information
schaefi committed Jul 14, 2021
1 parent 0178ec0 commit e9935d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kiwi/bootloader/config/grub2.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion test/unit/bootloader/config/grub2_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit e9935d0

Please sign in to comment.