Skip to contentSkip to conversation

initramfs-framework: fix var name

PATCH New Diego Rondini 1 participant 1 message Sep 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 initramfs-framework: fix var name

Use appropriate variable name for root of partuuid.

---
 meta/recipes-core/initrdscripts/initramfs-framework/rootfs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/initrdscripts/initramfs-framework/rootfs +2 -2
index 2e400bff41..f8c73b9726 100644
@@ -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