This is v2 of the patchset with the review feedback from Ahmad on the first set worked in.
This patchset introduces the bootm.root_arg variable. A dynamic way of setting the root argument in fit image boot contexts, defaulting to root, resulting in root=/dev/... during kernel boot, but allowing for overwrites like verity_fs=/dev/..., which can be parsed by the initramfs, but will not be parsed by the kernel, resulting in robuster secure boot contexts, where the kernel does not accidental due to misconfiguration mount the rootfs instead of the initramfs, resulting in a non-verified boot. Fabian Pflug (4): block.h: renamed get_rootargs to get_root fs: split rootargs into root and options bootm: use new api to get kernel command line params bootm: introduce bootm.root_arg variable .../migration-guides/migration-master.rst | 15 ++++++ common/block.c | 38 +++++++++---- common/bootm.c | 37 +++++++++---- drivers/mci/mci-core.c | 4 +- fs/9p/vfs_super.c | 6 +-- fs/fs.c | 53 ++++++++----------- fs/nfs.c | 4 +- fs/squashfs/squashfs.c | 13 +++-- fs/ubifs/ubifs.c | 12 +++-- include/block.h | 7 ++- include/bootargs.h | 11 ++++ include/bootm.h | 1 + include/fs.h | 7 +-- 13 files changed, 135 insertions(+), 73 deletions(-) create mode 100644 Documentation/migration-guides/migration-master.rst -- 2.47.3
