mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Lars Schmidt <l.schmidt@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Lars Schmidt <l.schmidt@pengutronix.de>
Subject: [PATCH 0/4] Add boot slot locking to bootchooser
Date: Fri, 13 Jun 2025 16:08:01 +0200	[thread overview]
Message-ID: <20250613140805.1229525-1-l.schmidt@pengutronix.de> (raw)

This patch series adds an option to lock slots to bootchooser.
When slots are locked, the remaining_attempts counter will not
get counted down. It is optional, so when not set, it does not 
have any effect on the counter. The choice of which slot to boot
is also not affected.

Lars Schmidt (4):
  bootchooser: implement locking of boot slots
  bootchooser: extend cmd tool by option to set slot locking
  Documentation: bootchooser: add information about slots_locked
  Documentation: migration-2025.07.0: add information about slots_locked

 Documentation/migration-guides/index.rst      |  1 +
 .../migration-guides/migration-2025.07.0.rst  |  8 +++
 Documentation/user/bootchooser.rst            | 26 +++++++++
 commands/bootchooser.c                        | 16 +++++-
 common/bootchooser.c                          | 55 +++++++++++++++++--
 include/bootchooser.h                         |  1 +
 6 files changed, 101 insertions(+), 6 deletions(-)
 create mode 100644 Documentation/migration-guides/migration-2025.07.0.rst

-- 
2.39.5




             reply	other threads:[~2025-06-13 15:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-13 14:08 Lars Schmidt [this message]
2025-06-13 14:08 ` [PATCH 1/4] bootchooser: implement locking of boot slots Lars Schmidt
2025-06-16 10:44   ` Ahmad Fatoum
2025-06-13 14:08 ` [PATCH 2/4] bootchooser: extend cmd tool by option to set slot locking Lars Schmidt
2025-06-16 10:49   ` Ahmad Fatoum
2025-06-13 14:08 ` [PATCH 3/4] Documentation: bootchooser: add information about slots_locked Lars Schmidt
2025-06-16 10:50   ` Ahmad Fatoum
2025-06-13 14:08 ` [PATCH 4/4] Documentation: migration-2025.07.0: " Lars Schmidt
2025-06-16 10:51   ` 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=20250613140805.1229525-1-l.schmidt@pengutronix.de \
    --to=l.schmidt@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