summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts
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-27 13:02:16 +0100
commit3c9edf9b021ae9323c1c3238e807138a2b8e776f (patch)
tree6f56960b5f77d33f014559a46650e3dc7438f70a /meta/recipes-core/initrdscripts
parentf7d46843e93f1acb4872bd5bcc12ed734de5168b (diff)
downloadpoky-3c9edf9b021ae9323c1c3238e807138a2b8e776f.tar.gz
initramfs-framework: fix var name
Use appropriate variable name for root of partuuid. (From OE-Core rev: d954ddcb2a9678b3b964279b41c0ec677ea9f03a) Signed-off-by: Diego Rondini <diego.rondini@kynetics.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initrdscripts')
-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() {
27 fi 27 fi
28 28
29 if [ "`echo ${bootparam_root} | cut -c1-9`" = "PARTUUID=" ]; then 29 if [ "`echo ${bootparam_root} | cut -c1-9`" = "PARTUUID=" ]; then
30 root_uuid=`echo $bootparam_root | cut -c10-` 30 root_partuuid=`echo $bootparam_root | cut -c10-`
31 bootparam_root="/dev/disk/by-partuuid/$root_uuid" 31 bootparam_root="/dev/disk/by-partuuid/$root_partuuid"
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