On 9/19/19 8:25 AM, Nico Kadel-Garcia wrote:
On Thu, Sep 19, 2019 at 8:11 AM Kalpa Welivitigoda
<callkalpa(a)gmail.com> wrote:
> Hi all,
>
> Given a kickstart file (flatten) and we intend to make an iso using
> it, is there a tool or service by which we can estimate the size of
> the final iso (based on the packages defined in the kickstart file)
> before actually creating the iso?
Since a kickstart file can refer to RPM's stored on the ISO file, or
on a separate website, and those RPM's are the majority of the bulk of
an installation DVD, it's not clear you can gracefully do this. A
single RPM file can drag in a *lot* of dependencies that may change
based on upstream updates. Why try to guess rather than simply running
the tool, which will be pretty fast if you work from a local yum
mirror?
Doesn't anaconda do a test to see if the install will fit? I vaguely
recall (or imagine, with age it seems there's little difference
sometimes) seeing such a message. If so, that would handle all the
dependency recursion and from there a statistical factor for the
expected compression should get a reasonably close estimate, no?
--
John Florian