mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
9f03ddf519
commit
da4b881eac
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user