Re: Obtaining the list of files generated by anaconda

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

 



>>> 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
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux