Minimal Install Guidelines

Panu Matilainen pmatilai at welho.com
Wed Apr 27 13:46:37 UTC 2005


On Tue, 26 Apr 2005, Philip Rowlands wrote:

> On Tue, 26 Apr 2005, dan wrote:
>
>> IIRC, the manual states that @Base and @Core groups are installed by
>> default, however, I believe specific packages can be "removed" from
>> those groups, or not installed, by prefixing each package name with a
>> "-" under %packagse.  I'm going to try to give this a shot.
>
> Packages can be excluded, but be aware of the
> --ignoredeps/--resolvedeps/--ignoremissing flags to %packages, which
> decide how anaconda will react to missing dependencies.
>
> It *is* possible to remove some leaf-node packages from @Base and @Core,
> but I don't know of a quick'n'easy way to suggest for pruning. (At one
> point I had a notion to write a GUI tool for this, but I was befuddled
> by the rpm Python libs. Perhaps someone will chime in to point out the
> myriad dependency-tracking package management GUIs which already exist.)

You can look for leafnodes with this script:
http://laiskiainen.org/rpm/scripts/rpmorphan.py

By default it only looks for leafnodes which look like libraries, for real 
pruning run with -a option to show all leafnodes. Beware though, there are 
things like 'grub' which nothing depends on :)

 	- Panu -




More information about the Kickstart-list mailing list