From bbdf318b3fe7a16eec94aa527531f1f93e4dee86 Mon Sep 17 00:00:00 2001 From: John Klug Date: Mon, 2 Dec 2019 09:59:17 -0600 Subject: Fix ROOT_RWDEVICE when rootrw is specified as a kernel parameter --- recipes-core/initrdscripts/files/init-readonly-rootfs-overlay-boot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-core/initrdscripts') 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=*) -- cgit v1.2.3