public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] meta-isar: Fix sdimage-efi wic script
@ 2018-09-07 13:02 Jan Kiszka
  2018-09-07 17:52 ` Henning Schild
  2018-09-11  8:34 ` Maxim Yu. Osipov
  0 siblings, 2 replies; 4+ messages in thread
From: Jan Kiszka @ 2018-09-07 13:02 UTC (permalink / raw)
  To: isar-users; +Cc: Andreas Reichel

In order to have the EFI partition reliably detected as such, we need to
set the right type.

And as we are using GPT, the legacy boot flag plays no role anymore.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
 meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks b/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks
index 580ad21..7aba8e3 100644
--- a/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks
+++ b/meta-isar/scripts/lib/wic/canned-wks/sdimage-efi.wks
@@ -2,7 +2,7 @@
 # long-description: Creates a partitioned EFI disk image without any swap that
 # the user can directly dd to boot media.
 
-part /boot --source bootimg-efi-isar --sourceparams="loader=grub-efi" --ondisk sda --label msdos --active --align 1024
+part /boot --source bootimg-efi-isar --sourceparams="loader=grub-efi" --ondisk sda --label efi --part-type=EF00 --align 1024
 
 part / --source rootfs --ondisk sda --fstype=ext4 --label platform --align 1024 --use-uuid
 
-- 
2.16.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-11  8:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-07 13:02 [PATCH] meta-isar: Fix sdimage-efi wic script Jan Kiszka
2018-09-07 17:52 ` Henning Schild
2018-09-07 17:58   ` Jan Kiszka
2018-09-11  8:34 ` Maxim Yu. Osipov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox