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
  2026-01-23  7:35 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages 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] 2+ messages in thread

* Re: [PATCH] partitions: efi: allow refresh without command support
  2026-01-21  7:56 [PATCH] partitions: efi: allow refresh without command support Ahmad Fatoum
@ 2026-01-23  7:35 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2026-01-23  7:35 UTC (permalink / raw)
  To: barebox, Ahmad Fatoum


On Wed, 21 Jan 2026 08:56:37 +0100, Ahmad Fatoum wrote:
> 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.
> 
> 
> [...]

Applied, thanks!

[1/1] partitions: efi: allow refresh without command support
      https://git.pengutronix.de/cgit/barebox/commit/?id=f89eba6735b7 (link may not be stable)

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-01-23  7:35 UTC | newest]

Thread overview: 2+ messages (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
2026-01-23  7:35 ` Sascha Hauer

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