Use appropriate variable name for root of partuuid.

Signed-off-by: Diego Rondini <diego.rond...@kynetics.com>
---
 meta/recipes-core/initrdscripts/initramfs-framework/rootfs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.21.0

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to