From: Sascha Hauer <s.hauer@pengutronix.de>
To: Barebox List <barebox@lists.infradead.org>
Subject: [PATCH] boot: rename BOOTM_OPTIONAL_SIGNED_IMAGES
Date: Fri, 13 Nov 2026 11:09:26 +0100 [thread overview]
Message-ID: <20261113100926.1764058-1-s.hauer@pengutronix.de> (raw)
BOOTM_OPTIONAL_SIGNED_IMAGES is easily misread as an option that adds
support for signed images which are then optional. The option doesn't
add support for anything, it's merely the opposite of
BOOTM_FORCE_SIGNED_IMAGES. Rename it to BOOTM_ALLOW_UNSIGNED_IMAGES to
make that clear.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
common/Kconfig | 2 +-
common/Sconfig | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/common/Kconfig b/common/Kconfig
index 9adecfd2e4..4cac59fa22 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -796,7 +796,7 @@ config BOOTM_FORCE_SIGNED_IMAGES
are refused to boot. Effectively this means only FIT images can be booted
since they are the only supported image type that support signing.
-config BOOTM_OPTIONAL_SIGNED_IMAGES
+config BOOTM_ALLOW_UNSIGNED_IMAGES
def_bool !BOOTM_FORCE_SIGNED_IMAGES
select HAS_INSECURE_DEFAULTS
depends on BOOTM
diff --git a/common/Sconfig b/common/Sconfig
index e5bfb63cfc..f7afb9c94a 100644
--- a/common/Sconfig
+++ b/common/Sconfig
@@ -51,7 +51,7 @@ menu "Boot Policy"
config BOOT_UNSIGNED_IMAGES
bool "Allow booting unsigned images"
- depends on $(kconfig-enabled,BOOTM_OPTIONAL_SIGNED_IMAGES)
+ depends on $(kconfig-enabled,BOOTM_ALLOW_UNSIGNED_IMAGES)
help
Say y here if you want to allow booting of images with
an invalid signature or no signature at all.
--
2.47.3
next reply other threads:[~2026-11-13 10:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 10:09 Sascha Hauer [this message]
2026-11-13 10:21 ` Ahmad Fatoum
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=20261113100926.1764058-1-s.hauer@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