]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
initramfs-framework: overlayroot: fix kernel commandline clash
authorJohannes Schneider <johannes.schneider@leica-geosystems.com>
Tue, 13 Feb 2024 12:24:24 +0000 (13:24 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 19 Feb 2024 14:56:11 +0000 (14:56 +0000)
commitef20ef719c699b94fc52b81c520faa0b3714efeb
tree8fc2b27e81303f5c5f473f9008db1e07b755ff5e
parent7172fd527fde440f26dd6cc371cde2720dbaa366
initramfs-framework: overlayroot: fix kernel commandline clash

The initramfs-framwork takes kernel commandline options and converts
them for internal use to variables following the 'bootparam_name'
pattern. The overlayroot module uses 'bootparam_rootfstype' and
'bootparam_rootfsflags' which both collide with linux kernel
parameters 'rootfstype' and 'rootfsflags'.  This collision is solved
by putting the variables in the namespace of the initramfs-framework
module.

Signed-off-by: Johannes Schneider <johannes.schneider@leica-geosystems.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-core/initrdscripts/initramfs-framework/overlayroot