bedbf92432
Add: * 0170-iscsi-skip-ibft-invalid-dhcp.patch * 0160-s390-update_active_devices_initrd.patch * 0161-95zfcp_rules-simplified-rd.zfcp-commandline-for-NPIV.patch * 0190-replace-iscsistart-with-systemd-service-files.patch * 0191-static_network_setup_return_zero.patch * 0192-iscsi_set_boot_protocol_from_ifcfg.patch * 0193-95iscsi-Set-number-of-login-retries.patch * 0403-95lunmask-Add-module-to-handle-LUN-masking.patch OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=256
26 lines
892 B
Diff
26 lines
892 B
Diff
From: Thomas Blume <thomas.blume@suse.com>
|
|
Subject: 91zipl: Update active_devices.txt from /boot/zipl device
|
|
|
|
References: bsc#939101
|
|
|
|
Signed-off-by: Thomas Blume <thomas.blume@suse.com>
|
|
|
|
Index: dracut-044/modules.d/91zipl/install_zipl_cmdline.sh
|
|
===================================================================
|
|
--- dracut-044.orig/modules.d/91zipl/install_zipl_cmdline.sh 2016-04-12 15:48:34.620382686 +0200
|
|
+++ dracut-044/modules.d/91zipl/install_zipl_cmdline.sh 2016-04-12 15:48:35.140412123 +0200
|
|
@@ -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
|