mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
For guests that do not make use of the EBC feature the boot should not be impacted by this module. This requires removing the boot.mount unit because it will unconditionally create a dependency on a unit that conflicts with that idea. The downside is that mounting of the boot partition has to be done manually. Fixes: https://github.com/ibm-s390-linux/s390-tools/issues/202 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>
22 lines
558 B
Desktop File
22 lines
558 B
Desktop File
[Unit]
|
|
Description=Mount a partition identified by label boot to /boot
|
|
|
|
# Ensure this runs before the handoff to the real root, if that's required:
|
|
Before=sel-ebc-pvebc.service
|
|
|
|
# Initramfs requirement
|
|
DefaultDependencies=no
|
|
# Make absolutely sure this only runs in initramfs
|
|
ConditionPathExists=/etc/initrd-release
|
|
ConditionKernelCommandLine=rd.sel-ebc
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
ExecStart=/bin/bash /etc/sel-ebc/boot-mount.sh
|
|
RemainAfterExit=yes
|
|
# On failure immediately abort boot
|
|
FailureAction=poweroff-immediate
|
|
|
|
[Install]
|
|
RequiredBy=sel-ebc-pvebc.service
|