[oe-commits] [openembedded-core] 02/04: initramfs-framework: fix var name
git at git.openembedded.org
git at git.openembedded.org
Thu Sep 19 22:05:58 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit d954ddcb2a9678b3b964279b41c0ec677ea9f03a
Author: Diego Rondini <diego.rondini at kynetics.com>
AuthorDate: Thu Sep 19 23:34:02 2019 +0200
initramfs-framework: fix var name
Use appropriate variable name for root of partuuid.
Signed-off-by: Diego Rondini <diego.rondini at kynetics.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 2e400bf..f8c73b9 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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list