mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>,
	 Sascha Hauer <s.hauer@pengutronix.de>
Subject: Re: [PATCH] partitions: efi: Fix position of alternate gpt when writing
Date: Wed, 12 Feb 2025 15:05:12 +0100	[thread overview]
Message-ID: <173936911273.2535993.5473671541796254120.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20250211093408.1701730-1-s.hauer@pengutronix.de>


On Tue, 11 Feb 2025 10:34:08 +0100, Sascha Hauer wrote:
> The primary GPT has a pointer to the alternate GPT. Set this pointer
> correctly when writing the partition table.
> 
> When the GPT originally has been created on the device, the alternate GPT
> should be at the end of the device already. However, when the GPT was
> created on an image which was then written to the disk, the alternate GPT
> might be at the end of the image instead of the device. In this case
> the alternate GPT changes its position during a partition write, so we
> have to adjust the pointer from the primary to the alternate GPT
> accordingly.
> 
> [...]

Applied, thanks!

[1/1] partitions: efi: Fix position of alternate gpt when writing
      https://git.pengutronix.de/cgit/barebox/commit/?id=d35dd0ae3e0a (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>




      reply	other threads:[~2025-02-12 14:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-11  9:34 Sascha Hauer
2025-02-12 14:05 ` Sascha Hauer [this message]

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=173936911273.2535993.5473671541796254120.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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