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:
The size can't be done during package selection -- dep resolution on the fly would make it *way* too slow to be viable.
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.