From 3c9edf9b021ae9323c1c3238e807138a2b8e776f Mon Sep 17 00:00:00 2001 From: Diego Rondini Date: Thu, 19 Sep 2019 23:34:02 +0200 Subject: initramfs-framework: fix var name Use appropriate variable name for root of partuuid. (From OE-Core rev: d954ddcb2a9678b3b964279b41c0ec677ea9f03a) Signed-off-by: Diego Rondini Signed-off-by: Richard Purdie --- meta/recipes-core/initrdscripts/initramfs-framework/rootfs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta') diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/rootfs b/meta/recipes-core/initrdscripts/initramfs-framework/rootfs index 2e400bff41..f8c73b9726 100644 --- a/meta/recipes-core/initrdscripts/initramfs-framework/rootfs +++ b/meta/recipes-core/initrdscripts/initramfs-framework/rootfs @@ -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 -- cgit v1.2.3-54-g00ecf