From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Sascha Hauer <s.hauer@pengutronix.de>,
Barebox List <barebox@lists.infradead.org>
Subject: Re: [PATCH] boot: rename BOOTM_OPTIONAL_SIGNED_IMAGES
Date: Fri, 13 Nov 2026 11:21:30 +0100 [thread overview]
Message-ID: <4e9e4402-4028-4d4a-a712-237fb78732a4@pengutronix.de> (raw)
In-Reply-To: <20261113100926.1764058-1-s.hauer@pengutronix.de>
On 11/13/26 11:09 AM, Sascha Hauer wrote:
> 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>
Reviewed-by: Ahmad Fatoum <a.fatoum@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.
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
prev parent reply other threads:[~2026-11-13 10:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 10:09 Sascha Hauer
2026-11-13 10:21 ` Ahmad Fatoum [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=4e9e4402-4028-4d4a-a712-237fb78732a4@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/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