Sudhakar Kuppusamy
f94eae0f8d
grub-mkimage: Do not generate empty SBAT metadata
...
When creating core.elf with SBAT the grub-mkimage does not check if
an SBAT metadata file contains at least an SBAT header or not. It leads to
adding an empty SBAT ELF note for PowerPC and the .sbat section for EFI.
Fix this by checking the SBAT metadata file size against the SBAT header
size before adding SBAT contents to the ELF note or .sbat section.
Signed-off-by: Sudhakar Kuppusamy <sudhakar@linux.ibm.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2026-01-08 19:51:29 +01:00
..
2025-09-04 14:37:20 +02:00
2025-11-18 12:49:31 +01:00
2010-09-15 14:46:53 +02:00
2017-12-06 12:55:55 +01:00
2013-08-14 10:56:55 +02:00
2013-12-14 21:50:36 +01:00
2023-12-12 17:55:14 +01:00
2013-11-23 12:42:30 +01:00
2023-12-12 18:01:55 +01:00
2022-03-14 16:01:07 +01:00
2025-10-23 19:15:01 +02:00
2020-07-29 16:55:47 +02:00
2025-07-11 23:12:50 +02:00
2022-03-14 16:01:07 +01:00
2022-03-14 16:01:07 +01:00
2013-12-21 18:08:25 +01:00
2025-12-21 16:41:46 +01:00
2025-04-10 19:40:50 +02:00
2016-02-12 15:46:05 +01:00
2015-03-04 01:00:19 +01:00
2013-11-11 22:48:43 +01:00
2022-03-14 16:01:07 +01:00
2024-02-15 16:54:59 +01:00
2025-11-18 12:49:31 +01:00
2022-10-27 15:47:34 +02:00
2018-12-12 12:03:27 +01:00
2018-12-12 12:03:27 +01:00
2025-10-11 15:36:34 +02:00
2026-01-08 19:31:37 +01:00
2022-03-14 16:01:07 +01:00
2023-05-17 13:23:44 +02:00
2024-06-06 16:55:16 +02:00
2013-12-21 18:08:25 +01:00
2025-11-20 16:41:05 +01:00
2023-12-12 15:47:08 +01:00
2022-10-11 14:15:55 +02:00
2022-10-11 14:15:55 +02:00
2023-05-17 13:18:36 +02:00
2023-03-14 16:07:54 +01:00
2023-10-30 18:33:06 +01:00
2025-10-28 12:19:35 +01:00
2023-06-01 11:45:00 +02:00
2025-06-26 17:19:25 +02:00
2018-09-13 11:01:10 +02:00
2013-12-21 18:08:25 +01:00
2022-03-14 16:01:07 +01:00
2016-02-12 15:46:05 +01:00
2020-12-12 01:19:03 +01:00
2022-03-14 16:01:07 +01:00
2025-10-21 13:45:58 +02:00
2025-07-11 23:12:50 +02:00
2025-07-11 23:12:50 +02:00
2023-06-13 14:16:08 +02:00
2025-09-04 14:37:20 +02:00
2026-01-08 19:51:29 +01:00
2022-06-07 12:54:51 +02:00
2022-03-14 16:01:07 +01:00
2022-02-08 16:04:57 +01:00
2013-10-15 16:16:04 +02:00
2013-10-15 16:16:04 +02:00
2022-03-14 16:01:07 +01:00
2013-01-21 14:55:30 +01:00