summaryrefslogtreecommitdiff
path: root/recipes-core/initrdscripts
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2019-12-02 09:59:17 -0600
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2020-05-20 19:50:21 +0300
commitbbdf318b3fe7a16eec94aa527531f1f93e4dee86 (patch)
tree91ad7ec28e0f4ca47beb1e215671538f32d645a9 /recipes-core/initrdscripts
parentff6e555be97fc7b8ef856b39c9c936e79fbd9a80 (diff)
downloadmeta-mlinux-bbdf318b3fe7a16eec94aa527531f1f93e4dee86.tar.gz
meta-mlinux-bbdf318b3fe7a16eec94aa527531f1f93e4dee86.tar.bz2
meta-mlinux-bbdf318b3fe7a16eec94aa527531f1f93e4dee86.zip
Fix ROOT_RWDEVICE when rootrw is specified as a kernel parameter
Diffstat (limited to 'recipes-core/initrdscripts')
-rwxr-xr-xrecipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh b/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh
index 545da5c..fccb40f 100755
--- a/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh
+++ b/recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh
@@ -133,7 +133,7 @@ read_args() {
ROOT_RWDEVICE=$optarg
if rootrwdev="$(finddevice ${ROOT_RWDEVICE})" ; then
# Replace the rootfs string with the findfs device result
- ROOT_RODEVICE="${rootrwdev}"
+ ROOT_RWDEVICE="${rootrwdev}"
fi
;;
rootrwfstype=*)