Bug 807397 - updates.img images do not work on live installs since the new format
Summary: updates.img images do not work on live installs since the new format
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedBlocker
Depends On:
Blocks: F17Beta, F17BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2012-03-27 16:52 UTC by Adam Williamson
Modified: 2012-03-29 04:12 UTC (History)
6 users (show)

Fixed In Version: anaconda-17.16-1.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-29 04:12:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Adam Williamson 2012-03-27 16:52:23 UTC
It seems in anaconda 17, updates.img may now contain an entire anaconda tree in subdirectories of /tmp/updates . prior to 17, they just contained a pyanaconda directory at the top level.

dracut has been adjusted for the new format, so updates work on non-live installs (allegedly), but liveinst hasn't, so when you use an updates.img for a live install, you get a /tmp/updates/tmp/updates/ folder with all the changed data below that, and it never gets read because of the extra layers.

The fix for this is to adjust the updates.img loading code in liveinst (after the comment "# We officially support two updates.img formats:  a filesystem image, and a compressed cpio blob.") to not change directory to /tmp/updates before extracting cpio blob-format updates.img files, and to mount filesystem image-format updates.img files in a temporary location then copy them appropriately into /tmp/updates (because we can't very well mount them at /).

Nominating as a Beta blocker per Alpha criterion "The installer must be able to download and use an installer update image from an HTTP server", in the case of live installation.

Comment 1 Fedora Update System 2012-03-28 23:22:25 UTC
anaconda-17.16-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/anaconda-17.16-1.fc17

Comment 2 Adam Williamson 2012-03-29 00:08:03 UTC
Discussed at 2012-03-28 go/no-go meeting, acting as a blocker review meeting. Accepted as a blocker per criterion "The installer must be able to download and use an installer update image from an HTTP server".



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 3 Adam Williamson 2012-03-29 04:08:17 UTC
Fix confirmed in RC2. beefiness is present.



-- 
Fedora Bugzappers volunteer triage team
https://fedoraproject.org/wiki/BugZappers

Comment 4 Fedora Update System 2012-03-29 04:12:52 UTC
anaconda-17.16-1.fc17 has been pushed to the Fedora 17 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.