* [ptxdist] [PATCH] hd.img: use efi type also for GPT partitions
@ 2020-05-19 10:05 Uwe Kleine-König
2020-05-23 12:01 ` [ptxdist] [APPLIED] " Michael Olbrich
0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2020-05-19 10:05 UTC (permalink / raw)
To: ptxdist
Similar to using 0xef for efi partitions with MBR partitioning, there is
a dedicated type for these when GPT partitioning is to be used.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
config/images/vfat_partitions.config | 1 +
rules/image-hdimg.make | 1 +
2 files changed, 2 insertions(+)
diff --git a/config/images/vfat_partitions.config b/config/images/vfat_partitions.config
index 799c19d5763d..0aac561de8e0 100644
--- a/config/images/vfat_partitions.config
+++ b/config/images/vfat_partitions.config
@@ -1,5 +1,6 @@
partition boot-vfat {
image = "boot.vfat"
partition-type = @VFAT_PARTITION_TYPE@
+ partition-type-uuid = @VFAT_PARTITION_TYPE_UUID@
bootable = true
}
diff --git a/rules/image-hdimg.make b/rules/image-hdimg.make
index e8fd01f1a890..b0f6af77f154 100644
--- a/rules/image-hdimg.make
+++ b/rules/image-hdimg.make
@@ -42,6 +42,7 @@ endif
ifdef PTXCONF_IMAGE_HDIMG_VFAT
IMAGE_HDIMG_BOOTLOADER_ENV := \
VFAT_PARTITION_TYPE=$(call ptx/ifdef, PTXCONF_IMAGE_BOOT_VFAT_EFI_BAREBOX,0xef,0x0c) \
+ VFAT_PARTITION_TYPE_UUID=$(call ptx/ifdef, PTXCONF_IMAGE_BOOT_VFAT_EFI_BAREBOX,U,L) \
BOOTLOADER_IMAGES='' \
BOOTLOADER_PARTITIONS='include("vfat_partitions.config")'
endif
--
2.26.2
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ptxdist] [APPLIED] hd.img: use efi type also for GPT partitions
2020-05-19 10:05 [ptxdist] [PATCH] hd.img: use efi type also for GPT partitions Uwe Kleine-König
@ 2020-05-23 12:01 ` Michael Olbrich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2020-05-23 12:01 UTC (permalink / raw)
To: ptxdist; +Cc: u.kleine-koenig
Thanks, applied as 292f0d9a85527ee6bd756cc9777852d2d9713908.
Michael
[sent from post-receive hook]
On Sat, 23 May 2020 14:01:21 +0200, Uwe Kleine-König <u.kleine-koenig@pengutronix.de> wrote:
> Similar to using 0xef for efi partitions with MBR partitioning, there is
> a dedicated type for these when GPT partitioning is to be used.
>
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
> Message-Id: <20200519100511.25651-1-u.kleine-koenig@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
>
> diff --git a/config/images/vfat_partitions.config b/config/images/vfat_partitions.config
> index 799c19d5763d..0aac561de8e0 100644
> --- a/config/images/vfat_partitions.config
> +++ b/config/images/vfat_partitions.config
> @@ -1,5 +1,6 @@
> partition boot-vfat {
> image = "boot.vfat"
> partition-type = @VFAT_PARTITION_TYPE@
> + partition-type-uuid = @VFAT_PARTITION_TYPE_UUID@
> bootable = true
> }
> diff --git a/rules/image-hdimg.make b/rules/image-hdimg.make
> index e8fd01f1a890..b0f6af77f154 100644
> --- a/rules/image-hdimg.make
> +++ b/rules/image-hdimg.make
> @@ -42,6 +42,7 @@ endif
> ifdef PTXCONF_IMAGE_HDIMG_VFAT
> IMAGE_HDIMG_BOOTLOADER_ENV := \
> VFAT_PARTITION_TYPE=$(call ptx/ifdef, PTXCONF_IMAGE_BOOT_VFAT_EFI_BAREBOX,0xef,0x0c) \
> + VFAT_PARTITION_TYPE_UUID=$(call ptx/ifdef, PTXCONF_IMAGE_BOOT_VFAT_EFI_BAREBOX,U,L) \
> BOOTLOADER_IMAGES='' \
> BOOTLOADER_PARTITIONS='include("vfat_partitions.config")'
> endif
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-23 12:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 10:05 [ptxdist] [PATCH] hd.img: use efi type also for GPT partitions Uwe Kleine-König
2020-05-23 12:01 ` [ptxdist] [APPLIED] " Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox