91zipl: Update active_devices.txt from /boot/zipl device
References: bsc#939101 Signed-off-by: Thomas Blume <thomas.blume@suse.com>master
parent
d118e9d940
commit
8bae047a4e
|
@ -22,6 +22,13 @@ if [ -f ${MNT}/dracut-cmdline.conf ] ; then
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue