summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/initrdscripts')
-rwxr-xr-xmeta/recipes-core/initrdscripts/initramfs-framework/finish6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/finish b/meta/recipes-core/initrdscripts/initramfs-framework/finish
index 006aef202f..a8806aa3af 100755
--- a/meta/recipes-core/initrdscripts/initramfs-framework/finish
+++ b/meta/recipes-core/initrdscripts/initramfs-framework/finish
@@ -23,6 +23,12 @@ finish_run() {
23 23
24 if [ -e "$bootparam_root" ]; then 24 if [ -e "$bootparam_root" ]; then
25 flags="" 25 flags=""
26 if [ -n "$bootparam_ro" ]; then
27 if [ -n "$bootparam_rootflags" ]; then
28 bootparam_rootflags="$bootparam_rootflags,"
29 fi
30 bootparam_rootflags="${bootparam_rootflags}ro"
31 fi
26 if [ -n "$bootparam_rootflags" ]; then 32 if [ -n "$bootparam_rootflags" ]; then
27 flags="$flags -o$bootparam_rootflags" 33 flags="$flags -o$bootparam_rootflags"
28 fi 34 fi