Bug 487230

Summary: buildinstall generates invalid .treeinfo, breaking virt-install
Product: [Fedora] Fedora Reporter: Will Woods <wwoods>
Component: anacondaAssignee: Anaconda Maintenance Team <anaconda-maint-list>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: anaconda-maint-list, belegdol
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-07 11:07:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 476774    

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.