summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Rondini <diego.rondini@kynetics.com>2019-09-19 23:34:02 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-09-19 22:58:33 +0100
commitd954ddcb2a9678b3b964279b41c0ec677ea9f03a (patch)
tree4fb5a3ba9b4bcf286e9efcc02e1c3e37f9c31b12
parent61c41369003444bfbf1c45e7cfd2752a4b7bc22f (diff)
downloadopenembedded-core-contrib-d954ddcb2a9678b3b964279b41c0ec677ea9f03a.tar.gz
initramfs-framework: fix var name
Use appropriate variable name for root of partuuid. Signed-off-by: Diego Rondini <diego.rondini@kynetics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 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