summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/initrdscripts/initramfs-framework/rootfs4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/rootfs b/meta/recipes-core/initrdscripts/initramfs-framework/rootfs
index 61baf73a60..2e400bff41 100644
--- a/meta/recipes-core/initrdscripts/initramfs-framework/rootfs
+++ b/meta/recipes-core/initrdscripts/initramfs-framework/rootfs
@@ -32,8 +32,8 @@ rootfs_run() {
32 fi 32 fi
33 33
34 if [ "`echo ${bootparam_root} | cut -c1-10`" = "PARTLABEL=" ]; then 34 if [ "`echo ${bootparam_root} | cut -c1-10`" = "PARTLABEL=" ]; then
35 root_uuid=`echo $bootparam_root | cut -c11-` 35 root_partlabel=`echo $bootparam_root | cut -c11-`
36 bootparam_root="/dev/disk/by-partlabel/$root_uuid" 36 bootparam_root="/dev/disk/by-partlabel/$root_partlabel"
37 fi 37 fi
38 38
39 if [ "`echo ${bootparam_root} | cut -c1-6`" = "LABEL=" ]; then 39 if [ "`echo ${bootparam_root} | cut -c1-6`" = "LABEL=" ]; then