Create separate IPL entry for each CD/DVD
authorGleb Natapov <gleb@redhat.com>
Tue, 7 Dec 2010 11:50:54 +0000 (13:50 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 12 Dec 2010 19:12:59 +0000 (14:12 -0500)
commit4c90a20f86a09ffdcecd9685f11f3fe2674b8b77
tree7982abe752449000416b4c9b647f91dbab9111d5
parent0e6f6366bc1645c151811c575d667a7676c5d53f
Create separate IPL entry for each CD/DVD

Current code creates only one IPL entry of type IPL_TYPE_CDROM even if
there are more then one CDROM drive present. If CDROM that the entry
refers to is not bootable there is no way to retry boot from another
CDROM. Fix this by creating IPL entry for each CDROM drive found. First
CDROM will always be placed in IPL entry 3 for backwards compatibility.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
src/ata.c
src/block.c
src/boot.c
src/boot.h
src/cdrom.c
src/disk.h