File 0182-s390-update_active_devices_initrd.patch of Package dracut.892

Index: dracut-037/modules.d/91zipl/install_zipl_cmdline.sh
===================================================================
--- dracut-037.orig/modules.d/91zipl/install_zipl_cmdline.sh
+++ dracut-037/modules.d/91zipl/install_zipl_cmdline.sh
@@ -22,6 +22,13 @@ if [ -f ${MNT}/dracut-cmdline.conf ] ; t
     cp ${MNT}/dracut-cmdline.conf /etc/cmdline.d/99zipl.conf
 fi
 
+if [ -f ${MNT}/active_devices.txt ] ; then
+    while read dev etc ; do
+        [ "$dev" = "#" -o "$dev" = "" ] && continue;
+        cio_ignore -r $dev
+    done < ${MNT}/active_devices.txt
+fi
+
 umount ${MNT}
 
 if [ -f /etc/cmdline.d/99zipl.conf ] ; then