91zipl: Update active_devices.txt from /boot/zipl device

References: bsc#939101

Signed-off-by: Thomas Blume <thomas.blume@suse.com>
master
Thomas Blume 2017-02-03 16:02:32 +01:00 committed by Daniel Molkentin
parent d118e9d940
commit 8bae047a4e
1 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,13 @@ if [ -f ${MNT}/dracut-cmdline.conf ] ; then
cp ${MNT}/dracut-cmdline.conf /etc/cmdline.d/99zipl.conf cp ${MNT}/dracut-cmdline.conf /etc/cmdline.d/99zipl.conf
fi 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} umount ${MNT}


if [ -f /etc/cmdline.d/99zipl.conf ] ; then if [ -f /etc/cmdline.d/99zipl.conf ] ; then