Bug 197532 - RFE Choice of packages and its size increments on selection
Summary: RFE Choice of packages and its size increments on selection
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Mike McLean
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-03 19:54 UTC by Chitlesh GOORAH
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-07-04 03:50:07 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Chitlesh GOORAH 2006-07-03 19:54:25 UTC
Description of problem:
This is a RFE with respect to Kadischi.
It would be nice to have anaconda calculate the expected size of iso image
during package selection (when run in --livecd mode)
The size of the iso image will be based on mksquashfs
 - to be able to parse a factor to do the calculation with respect to the actual
size of the selected packages.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Jeremy Katz 2006-07-04 03:50:07 UTC
The size can't be done during package selection -- dep resolution on the fly
would make it *way* too slow to be viable.

Comment 2 Jasper O. Hartline 2006-07-06 03:45:47 UTC
I agree, I think this is Kadischi's job for now. 
Right now observed SquashFS compression comes out to between 2.5 and 2.7 times
smaller than the original builddir's rootfs.

So what we've done is simply query the rootfs RPMdb headers for the SIZE and add
them up, divide by 2.5 and print how many bytes estimated it would be. This
actually works and works well for this task. The querying is done immediately
after Anaconda exits. 


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