diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2021-03-04 11:58:38 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2021-03-23 17:35:47 +0100 |
commit | 9e73d9e41c263a066f92a169432fdf89e0e859b1 (patch) | |
tree | d5a1bd614e1224ffe5ada7869ab94a0438f5a75e /recipes-support/snapd | |
parent | 6de3a976f695452c18c960c15d471d0f14262213 (diff) |
udev: mount.sh: fix cmdline parsing
On cmdlines with "root=" not at first position the current sed script
fails to only provide the root partitions PARTUUID. Fix that.
Fixes c8651fe ("udev: mount.sh: create a symlink to the partition with
the bootfiles")
Additionally add a word boundary \b before root and simplify sed script.
This prevents nfsroot, extroot matching.
Related-to: ELB-3337
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 800cf9fa2d4b023a55637a8b0f59904373476633)
Diffstat (limited to 'recipes-support/snapd')
0 files changed, 0 insertions, 0 deletions