diff --git a/overlay.d/05rhcos/usr/lib/dracut/modules.d/40rhcos-fips/module-setup.sh b/overlay.d/05rhcos/usr/lib/dracut/modules.d/40rhcos-fips/module-setup.sh index 1375fb9fc..4747674c2 100755 --- a/overlay.d/05rhcos/usr/lib/dracut/modules.d/40rhcos-fips/module-setup.sh +++ b/overlay.d/05rhcos/usr/lib/dracut/modules.d/40rhcos-fips/module-setup.sh @@ -17,6 +17,12 @@ install() { bwrap \ env + local _arch=${DRACUT_ARCH:-$(uname -m)} + if [[ "$_arch" == "s390x" ]]; then + inst_multiple zipl + inst /lib/s390-tools/stage3.bin + fi + inst_script "$moddir/rhcos-fips.sh" \ "/usr/sbin/rhcos-fips" inst_script "$moddir/coreos-dummy-ignition-files-run.sh" \