]> code.ossystems Code Review - openembedded-core.git/commit
initramfs-framework: handle kernel parameters with . inside
authorPatrick Ohly <patrick.ohly@intel.com>
Thu, 3 Sep 2015 18:42:29 +0000 (20:42 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Sep 2015 14:24:24 +0000 (15:24 +0100)
commitde81e804f0654092d20ccb8e6e40f4ff614c4b09
tree1beaae3b82b26aede286c030b1dac6d785999a93
parent1b64664f0c388f41084f5db6e46e3e68c53fb6d9
initramfs-framework: handle kernel parameters with . inside

Kernel parameters like "uvesafb.mode_option=640x480-32" were turned
into shell variables named "bootparam_uvesafb.mode_option", which
triggered errors from the shell because the name is not valid. Now
points get replaced with underscores, leading to
bootparam_uvesafb_mode_option in this example.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/initrdscripts/initramfs-framework/init