initramfs-framework: fix var name
PATCH 1/1 initramfs-framework: fix var name
Use appropriate variable name for root of partuuid.
Signed-off-by Diego Rondini <[email protected]>
--- meta/recipes-core/initrdscripts/initramfs-framework/rootfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/initrdscripts/initramfs-framework/rootfs +2 -2
@@ -27,8 +27,8 @@ rootfs_run() { fi if [ "`echo ${bootparam_root} | cut -c1-9`" = "PARTUUID=" ]; then - root_uuid=`echo $bootparam_root | cut -c10-` - bootparam_root="/dev/disk/by-partuuid/$root_uuid" + root_partuuid=`echo $bootparam_root | cut -c10-` + bootparam_root="/dev/disk/by-partuuid/$root_partuuid" fi if [ "`echo ${bootparam_root} | cut -c1-10`" = "PARTLABEL=" ]; then
Signature · 1 line
2.21.0