diff options
| author | Milton Miller <mdmii@outlook.com> | 2023-10-11 22:41:25 +0300 |
|---|---|---|
| committer | Andrew Geissler <geissonator@yahoo.com> | 2023-10-16 21:00:20 +0300 |
| commit | f53fdb077d0acd62790b543aaa183b825bab8481 (patch) | |
| tree | f3e1b55c2c3f15344cf0b3a1c545fb4f5857ca18 /meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest | |
| parent | e50b26fd6fbcb499196ff84f46a8ca5d14f951a7 (diff) | |
| download | openbmc-f53fdb077d0acd62790b543aaa183b825bab8481.tar.xz | |
initfs: Adapt shutdown unmount to systemd v254
Adjust the awk match statement to unmount the ro and rw filesystems
possibly from multiple places.
Systemd version 254 changed the rules for mount propagation and what
is left mounted under run during systemd-shutdown before transfering
to the initramfs shutdown, and now the read-only and read-write mount
points we used to form the overlay are exposed in multiple places.
To avoid matching the optins, restrict the match criteria to field
two (the mountpoint) and anchor to the beginning or end of the field.
Since busybox awk doesn't handle some regular expressions according
to POSIX, just use . to match any single character instead of
non-standard and POSIX undefined escaping of / in the match criteria.
Fixes: openbmc/openbmc#3947
Change-Id: I04e83a7eb0fc2954b3108115a02cd0a73ce67a90
Signed-off-by: Milton Miller <mdmii@outlook.com>
Diffstat (limited to 'meta-openembedded/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest')
0 files changed, 0 insertions, 0 deletions
