diff options
Diffstat (limited to 'meta/recipes-core')
-rwxr-xr-x | meta/recipes-core/initrdscripts/initramfs-framework/finish | 6 |
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 |