diff options
| author | Cyril Brulebois <cyril@debamax.com> | 2021-10-21 16:32:55 +0200 |
|---|---|---|
| committer | Cyril Brulebois <cyril@debamax.com> | 2021-10-21 16:34:32 +0200 |
| commit | 46ead8a58dcc3e267627e329cd73f2a1013a7003 (patch) | |
| tree | 3f4e4ec86c653cc2cab7bc6c6e6c96b7e1a3ddbe | |
| parent | 3f9e671fedd54b4a332e5a93e156489600203fad (diff) | |
Improve pattern when replacing root=/dev/mmcblk0p2 in cmdline.txt
Let's make it clear what we are replacing.
| -rw-r--r-- | raspi_master.yaml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/raspi_master.yaml b/raspi_master.yaml index 9a8cb3f..41b1a90 100644 --- a/raspi_master.yaml +++ b/raspi_master.yaml @@ -144,7 +144,7 @@ steps: - chroot: / shell: | sed -i 's/^/console=__SERIAL_CONSOLE__ /' /boot/firmware/cmdline.txt - sed -i 's/.dev.mmcblk0p2/LABEL=RASPIROOT/' /boot/firmware/cmdline.txt + sed -i 's#root=/dev/mmcblk0p2#root=LABEL=RASPIROOT#' /boot/firmware/cmdline.txt # TODO(https://github.com/larswirzenius/vmdb2/issues/24): remove once vmdb # clears /etc/resolv.conf on its own. |
