95sel-ebc: Add umount to boot service

Explicitly unmount the root partition on unit stopping to prevent still
mounted boot partition on switch root which results in boot being unable
to be mounted after switch root.

Reviewed-by: Holger Dengler <dengler@linux.ibm.com>
Signed-off-by: Finn Callies <fcallies@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Finn Callies
2026-07-20 11:21:30 +02:00
committed by Jan Höppner
parent 9f03ddf519
commit da4b881eac

View File

@@ -17,6 +17,7 @@ After=systemd-udevd.service
Type=oneshot
ExecStart=/bin/bash /etc/sel-ebc/boot-mount.sh
RemainAfterExit=yes
ExecStop=/usr/bin/umount /boot
# On failure immediately abort boot
FailureAction=poweroff-immediate