Anaconda
= Build =
- Obtain the source code: git clone git: // git.fedorahosted.org/git/anaconda.git
- Install the dependency package: sudo Yum install libtool $ (grep ^ buildrequires: Anaconda. spec. In | awk '{print $2 }')
- Install and configure transifex: sudo Yum install transifex-client; TX init/tmp
- ./Autogen. Sh &./configure & make po-pull & make
= Source code directory structure =
Interface: pyanaconda/UI/
- GUI/: graphical interface implementation code.
- Tui/: character interface and command line interface implementation code.
- _Init_. Py and common. py: defines the basic class for GUI and Tui)
- Communication. py: Responsible for class communication in the UI.
Custom component: widgets/
- Data/: stores images of the time zone map component.
- Glade/and Python/: Let the user interface builder know the component existence and implement Python introspection.
- Src/: implement various components.
Partition: Python-blivet package
Bootloader: pyanaconda/bootloader. py
Configuration of each step:
- Pyanaconda/desktop. py
- Pyanaconda/keyboard. py
- Pyanaconda/localization. py
- Pyanaconda/network. py
- Pyanaconda/NTP. py
- Pyanaconda/timezone. py
- Pyanaconda/users. py
Installation package:
- Pyanaconda/packaging/
- Scripts/Anaconda-yum
Installation class: Different releases can define different installation classes.
- Pyanaconda/installclass. py
- Pyanaconda/installclasses/
- Pyanaconda/product. py
Unattended Installation: pyanaconda/Kickstart. py
Livecd:
- Data/icons/
- Data/liveinst/
Error handling:
- Pyanaconda/errors. py
- Pyanaconda/exception. py
Install control library
- Pyanaconda/install. py: controls the installation steps.
- Pyanaconda/progress. py: control progress bar.
- Pyanaconda/queue. py: controls the communication queue.
- Pyanaconda/Threads. py: multithreading supported.
Library: provides some tools such as getting user location and installation logs.
- Pyanaconda/Init. Py
- Pyanaconda/Addons. py
- Pyanaconda/anaconda_log.py
- Pyanaconda/anaconda_optparse.py
- Pyanaconda/constants. py
- Pyanaconda/flags. py
- Pyanaconda/geoloc. py
- Pyanaconda/i18n. py
- Pyanaconda/image. py
- Pyanaconda/indexed_dict.py
- Pyanaconda/isys/
- Pyanaconda/iutil. py
- Pyanaconda/nm. py
- Pyanaconda/safe_dbus.py
- Pyanaconda/simpleconfig. py
- Pyanaconda/sitecustoimze. py
Main Program Anaconda: called by systemd after the system is started, set the environment and VNC.
Start
Memory monitoring
- Scripts/Anaconda-cleanup: monitors the memory status during installation and records it in the/tmp/memory. dat file.
- Scripts/instperf and scripts/instperf. P: Use the memory. dat file to generate the corresponding chart.
Upgrade Tool
- Scripts/makebumpver
- Scripts/makeupdates