mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] partitions: efi: allow refresh without command support
Date: Wed, 21 Jan 2026 08:56:37 +0100	[thread overview]
Message-ID: <20260121075638.3906926-1-a.fatoum@pengutronix.de> (raw)

CONFIG_PARTITION_MANIPULATION is currently selected by the createnv and
parted commands, but neither is really needed to make use of the
global.system.gpt_refresh magic variable.

Adapt the dependencies in Kconfig to reflect this.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 common/partitions/Kconfig | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/common/partitions/Kconfig b/common/partitions/Kconfig
index 1007dbbe19d2..9d037b02e257 100644
--- a/common/partitions/Kconfig
+++ b/common/partitions/Kconfig
@@ -25,7 +25,8 @@ config PARTITION_DISK_EFI
 	  Add support to handle partitions in GUID Partition Table style.
 
 config PARTITION_DISK_EFI_REFRESH
-	depends on PARTITION_DISK_EFI && PARTITION_MANIPULATION
+	depends on PARTITION_DISK_EFI
+	select PARTITION_MANIPULATION
 	bool "refresh GPT partition on demand"
 	help
 	  The GPT alternative header must be at the end of the device. When disk
-- 
2.47.3




                 reply	other threads:[~2026-01-21  7:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20260121075638.3906926-1-a.fatoum@pengutronix.de \
    --to=a.fatoum@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