From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH master 1/2] defaultenv: devboot: name module CPIO after hostname, not arch
Date: Wed, 28 Oct 2026 14:11:58 +0100 [thread overview]
Message-ID: <20261028131201.411183-1-a.fatoum@pengutronix.de> (raw)
It makes little sense to have the kernel in /env/devboot/defaults
suffixed with the hostname, but have its module suffixed with the arch
name. Use hostname for both.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
Documentation/user/devboot.rst | 2 +-
defaultenv/defaultenv-2-devboot/devboot/rsinit-modules | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/user/devboot.rst b/Documentation/user/devboot.rst
index e319636994e0..5872973f5650 100644
--- a/Documentation/user/devboot.rst
+++ b/Documentation/user/devboot.rst
@@ -221,7 +221,7 @@ which the configuration script can source instead of spelling them out:
line, so RAUC neither marks the slot as booted nor as good.
``/env/devboot/rsinit-modules``
- Appends the ``${global.user}-modules-${global.arch}`` CPIO archive to
+ Appends the ``${global.user}-modules-${global.hostname}`` CPIO archive to
the initrd, as built by the Linux kernel ``make modules-cpio-pkg``
target, and adds ``rsinit.bind_modules`` to the kernel command
line, so that the rsinit init in the initramfs bind mounts the modules
diff --git a/defaultenv/defaultenv-2-devboot/devboot/rsinit-modules b/defaultenv/defaultenv-2-devboot/devboot/rsinit-modules
index b47d2e2739eb..22be4b92360e 100644
--- a/defaultenv/defaultenv-2-devboot/devboot/rsinit-modules
+++ b/defaultenv/defaultenv-2-devboot/devboot/rsinit-modules
@@ -1,4 +1,4 @@
# Append the module CPIO archive and rsinit bind mount them over /lib/modules
-devboot_initrd="${devboot_initrd}:${global.user}-modules-${global.arch}"
+devboot_initrd="${devboot_initrd}:${global.user}-modules-${global.hostname}"
global linux.bootargs.devboot.rsinit="rsinit.bind_modules"
--
2.47.3
next reply other threads:[~2026-10-28 13:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-28 13:11 Ahmad Fatoum [this message]
2026-10-28 13:11 ` [PATCH master 2/2] defaultenv: devboot: adopt same variable names as in /env/boot/net 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=20261028131201.411183-1-a.fatoum@pengutronix.de \
--to=a.fatoum@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