Bug 487230 - buildinstall generates invalid .treeinfo, breaking virt-install
Summary: buildinstall generates invalid .treeinfo, breaking virt-install
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F11Beta, F11BetaBlocker
TreeView+ depends on / blocked
 
Reported: 2009-02-24 21:47 UTC by Will Woods
Modified: 2009-03-07 11:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-03-07 11:07:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Will Woods 2009-02-24 21:47:44 UTC
Current (20090224) rawhide .treeinfo has:
  [images-i386]
  initrd = images/pxeboot/initrd.img
  boot.iso = images/boot.iso
  kernel = images/pxeboot/vmlinuz
which is normal, but the [general] section says:
  arch = i586

buildinstall passes --arch i586 to both mk-images and maketreeinfo.py. mk-images changes its arch to i386 (which is correct) but maketreeinfo.py was never informed of the change.

This causes virt-install (and other tools) to be unable to find the images-$arch section (which must *always* be present), making it unable to install Rawhide.

I think the proper fix is to pass 'i386' (i.e. basearch) to both mk-images and maketreeinfo.py. 

A patch been sent to anaconda-devel-list for review.

Comment 1 Chris Lumens 2009-02-25 22:42:13 UTC
Committed and pushed your patches.  This should be fixed in up the next build of anaconda.  Thanks.

Comment 2 Julian Sikorski 2009-03-07 10:55:04 UTC
I was able to get to the graphical stage of anaconda with yesterday's rawhide, so I believe this is fixed.


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