mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] hd.img: use efi type also for GPT partitions
Date: Tue, 19 May 2020 12:05:11 +0200	[thread overview]
Message-ID: <20200519100511.25651-1-u.kleine-koenig@pengutronix.de> (raw)

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

             reply	other threads:[~2020-05-19 10:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-19 10:05 Uwe Kleine-König [this message]
2020-05-23 12:01 ` [ptxdist] [APPLIED] " Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200519100511.25651-1-u.kleine-koenig@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox