mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] partitions: efi: allow refresh without command support
@ 2026-01-21  7:56 Ahmad Fatoum
  0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2026-01-21  7:56 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

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




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-01-21  7:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-01-21  7:56 [PATCH] partitions: efi: allow refresh without command support Ahmad Fatoum

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