Merge ~danielruthardt/cloud-initramfs-tools:fix/root-ro-detection into cloud-initramfs-tools:master
Proposed by
Daniel Ruthardt
Status: | Needs review |
---|---|
Proposed branch: | ~danielruthardt/cloud-initramfs-tools:fix/root-ro-detection |
Merge into: | cloud-initramfs-tools:master |
Diff against target: |
21 lines (+7/-1) 1 file modified
overlayroot/scripts/init-bottom/overlayroot (+7/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
cloud-initramfs-tools | Pending | ||
Review via email: mp+460784@code.launchpad.net |
Commit message
🚸 Improve ro detection for when both are present
Description of the change
🚸 Improve ro detection for when both are present
Improve root file system "ro" detection for when both "ro" and "rw" are present in the kernel command line.
The above is helpful for situations when one only controls an append to the kernel command line and is not in complete control of the entire command line to be able to remove the "ro".
The fix/improvement allows for multiple "ro" and "rw" arguments to be present and will correctly use the last one present, just like the kernel would.
To post a comment you must log in.