Red Hat Bugzilla – Bug 575742
RFE: %packages section to be able to include a flat file package list
Last modified: 2010-03-23 10:17:38 EDT
Description of problem:
Using Kickstart with Anaconda I notice I cannot generate
A list of currently installed files on the system to send into a single flat file to use as a included package list file in Kickstart %packages section.
The reason this is useful is for example, making a kickstart system include
any packages I have installed currently or any package list file generated by some other means based on whatever criteria deemed important, to be used in %packages section.
So far the only suggestion I have recieved was to do some preprocessing before hand and insert the packages into a kickstart file, for example using a kickstart file creation mechanism. While this seems it is very easily done, it would just be some added benefit to be able to have %packages recognize an options or switch for including a flat file with package names on each line for inclusion in the package payload to the target.
%packages --excludedocs --nobase
That or something similar.
Remember this is an RFE, not a filed bug.. thanks.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
I also forgot to mention that allowing this construct, will ease modularity with kickstart files when the package list to include may be huge.
This makes it much easier to administrate and segregate pieces of kickstart installs which could in turn make things more flexible with what package set is to be included.
I'd much rather for example have 5 flat files with specifications for different packages, than to have 5 seperate kickstart files when the only thing that will differ in the whole kickstart process is the package set.
I know the Fedora Project produces nightly builds and I cannot say for sure they even use the %packages section to specify which packages are to be installed, but even if they did I believe they would let the comps take care of ti since it is an official nightly LiveCD build, meaning they can simply do @base and @gnome-desktop
Rather than having huge kickstart files, unfortunately this doesn't work for the general public when wanting to specify particular package sets, and only those packages directly, without specifying the group.
This just makes package selection in kickstart situation this much more modular, flexible and fine grained.
(Assumed the package file list can also specify what NOT to install if it wants)
Maybe this does or doesn't make sense to allow, please advise.
kickstart already has a %include directive that's briefly documented at https://fedoraproject.org/wiki/Anaconda/Kickstart. This can be used within the %packages section. Is that what you're looking for?
Yes, that is exactly what I was looking for.
Ok I looked and for some reason did not come across this.
Interesting, ok thanks. Works as I expected.
Thanks a lot.