Bug 856893 - livecd-tools 18.9+ cannot compose 32-bit lives because the rejigged EFI support is not at all 32-bit safe
Summary: livecd-tools 18.9+ cannot compose 32-bit lives because the rejigged EFI suppo...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 18
Hardware: All
OS: All
unspecified
urgent
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-13 05:15 UTC by Adam Williamson
Modified: 2012-09-20 20:34 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-09-20 20:34:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2012-09-13 05:15:31 UTC
The recent changes to the EFI support in livecd-tools work fine on x86_64, but they've completely broken 32-bit composes. It looks like they weren't really written with any consideration for the 32-bit case.

I think what we need to do here is just put in code that stops it trying to make 32-bit images EFI compatible at all. I wasn't aware it did so at all until these problems cropped up, but it looks like it always has, right back to the initial EFI support in 2009 - http://git.fedorahosted.org/cgit/livecd/commit/imgcreate/live.py?id=ceb818924b458b273293b17dd54b482b4581b528 . Probably because that support was written for Intel Macs, and there *were* 32-bit EFI Macs. But we no longer claim to support such systems at all, and we don't put EFI stuff on the 32-bit traditional media. We should stop doing it for lives.

The problems we've found so far are:

1. Adding shim to the 'required packages' for x86 live images causes 32-bit composes to fail because there is no shim package in the 32-bit repos. I fixed this in 18.10-2 by just dropping shim and grub2-efi from livecd-tools' 'required packages' - they're in comps, there's no need for them to be in livecd-tools too.

2. Once that's fixed, compose fails at the end with several "Missing EFI file" errors - this relates to __copy_efi_files in live.py . There is no shim.efi file or gcdx64.efi to copy, in a 32-bit compose, so those two fail and the compose died.

For Alpha RC3 we just rolled back livecd-tools and composed the 32-bit lives with 18.8, but we need a proper 'fix' for the future.

Comment 1 Fedora Update System 2012-09-13 21:15:12 UTC
livecd-tools-18.11-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/livecd-tools-18.11-1.fc18

Comment 2 Fedora Update System 2012-09-16 17:12:02 UTC
Package livecd-tools-18.11-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing livecd-tools-18.11-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-13967/livecd-tools-18.11-1.fc18
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2012-09-20 20:34:26 UTC
livecd-tools-18.11-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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