Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dasd-rules): handle all possible options in
rd.dasd
(bsc#1230110)
The current code only handles `(ro)` (e.g.: `rd.dasd=0.0.0202(ro)`), but not the other possible options `diag`, `erplog` and `failfast` [1] (e.g.: `rd.dasd=0.0.0202(diag)`, and their combination using `:` (e.g.: `rd.dasd=0.0.0202(ro:failfast)`), which causes a parse error in the next `printf`: ``` dracut-cmdline[258]: //lib/dracut/hooks/cmdline/30-parse-dasd.sh: line 39: 16#0203(diag): syntax error in expression (error token is "(diag)") ``` [1] https://www.ibm.com/docs/en/linux-on-systems?topic=d-setup-4
- Loading branch information