Bug 1155860 - [abrt] lorax: mkefiboot:60:macmunge:IndexError: list index out of range
Summary: [abrt] lorax: mkefiboot:60:macmunge:IndexError: list index out of range
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:f912297e23533647c81c7dc3e28...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-23 03:48 UTC by Peter H. Jones
Modified: 2014-10-26 06:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-23 17:45:31 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (628 bytes, text/plain)
2014-10-23 03:48 UTC, Peter H. Jones
no flags Details
File: environ (1.52 KB, text/plain)
2014-10-23 03:48 UTC, Peter H. Jones
no flags Details

Description Peter H. Jones 2014-10-23 03:48:48 UTC
Description of problem:
possibly a livecd-creator build

Version-Release number of selected component:
lorax-20.5-1.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/sbin/mkefiboot -a /run/media/jones/2tp001data/createlive/temp-xfce-jam/imgcreate-9ivhn6/iso-qUhSVE/EFI/BOOT /run/media/jones/2tp001data/createlive/temp-xfce-jam/imgcreate-9ivhn6/iso-qUhSVE/isolinux/macboot.img -l 'Livecd Xfce' -n /usr/share/pixmaps/bootloader/fedora-media.vol -i /usr/share/pixmaps/bootloader/fedora.icns -p 'Livecd Xfce'
executable:     /usr/sbin/mkefiboot
kernel:         3.16.6-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
mkefiboot:60:macmunge:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/sbin/mkefiboot", line 153, in <module>
    opt.diskname)
  File "/usr/sbin/mkefiboot", line 45, in mkmacboot
    macmunge(outfile, product)
  File "/usr/sbin/mkefiboot", line 60, in macmunge
    shim = glob.glob(os.path.join(mnt, 'EFI/BOOT/BOOT*.efi'))[0]
IndexError: list index out of range

Local variables in innermost frame:
loopdev: '/dev/loop1'
imgfile: '/run/media/jones/2tp001data/createlive/temp-xfce-jam/imgcreate-9ivhn6/iso-qUhSVE/isolinux/macboot.img'
product: 'Livecd Xfce'
mnt: '/tmp/lorax.imgutils.8rzIFI'

Comment 1 Peter H. Jones 2014-10-23 03:48:51 UTC
Created attachment 949633 [details]
File: backtrace

Comment 2 Peter H. Jones 2014-10-23 03:48:52 UTC
Created attachment 949634 [details]
File: environ

Comment 3 Brian Lane 2014-10-23 17:45:31 UTC
You have a mismatch of the versions you are using someplace.

In F20 shim is BOOTX86.efi and in F21 and later it is going to be BOOTX86.EFI so you need to make sure whatever you're running has all the matching parts. This looks like you ran it from the cmdline, not as part of livecd-creator, livemedia-creator or lorax.

Comment 4 Peter H. Jones 2014-10-26 06:39:46 UTC
I now have:
livecd-tools-21.3-1.fc21.x86_64
syslinux-6.03-1.fc21.x86_64
syslinux-nonlinux-6.03-1.fc21.noarch
python-imgcreate-21.3-1.fc21.x86_64
pykickstart-1.99.63-2.fc21.noarch
lorax-21.9-2.fc21.x86_64

on a FC20 system. When I tried to use the FC20 versions of these packages, I get unbootable disk images.


Note You need to log in before you can comment on or make changes to this bug.