Obtaining the list of files generated by anaconda
>>> I'm trying to investigate if it's possible to track the
>>> installation process in order to distinguish between files written in the target
>>> volume that are generated depending on the configuration specified by the user
>>> and those that are extracted from RPM packages.
>> rpm -ql $( rpm -qa )
>> find $( ls -d /* | egrep -v '^/proc$|^/sys$' )
>> Then subtract the two lists, probably using 'sort' and 'comm'.
> Ok, thanks. What i need is a way to obtain some configuration files generated by
> anaconda like '/etc/sysconfig/iptables' or '/etc/sysconfig/clock' providing the kickstart
> file. I have loooked up at the anaconda's code to identify the points where those files
> are written and it seem's that they are located in the directory pyanaconda.
> There's a way to run anaconda so that the only task it does is to generated configuration
> files and to exit before installing packages?
There's no builtin way to do that, but because you've looked at the code,
then you can just delete the part that does package install. Because
anaconda is interpreted, then it is easy to make and debug such a modification.
Anaconda-devel-list mailing list