[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to shrink the lorax install image ?



Hi,

It would help if you could make a list of files sorted
by size, as it makes sense to only remove the biggest files,
and let a few small ones be.

Also why is qt getting included into the images, removing that
alone (the entire rpm) would be a big gain.

As this is F-14 material we should not be afraid to submit spec
file patches to break out deps, so that we don't need to
remove files in the first place.

Regards,

Hans


On 05/21/2010 03:07 PM, Martin Gracik wrote:
Hi,

as some of you may know, the main goal of lorax was to get rid of keepfiles.
While in buildinstall we have a list of files we want to have in the install.img,
in lorax we would like to have a list of things to remove, from the install tree,
and put everything that is left to the install.img.

There's one problem with this. The install image from lorax has more than 400MB
right now, the one from buildinstall has only 150MB.

So I created a list of files that are in the lorax install.img, and not in the
buildinstall install image. There are 26000 files which we could remove,
but obviously I don't want to just use that diff in lorax and remove everything,
because that would be unmaintainable.

You can download the list here http://mgracik.fedorapeople.org/install_image_diff.txt

So I would like to have a discussion with you guys, if we can come up with some ideas,
what can we get rid of from the list with some kind of algorithms, globs etc.
It would be nice if we could find some "relations" between some of the files, and
remove all of them at once, not one file at a time.

I appreciate any kind of help. :)
Thanks.

--

   Martin Gracik

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list redhat com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]