Development log-14-07-30

Source: Internet
Author: User
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 =

  1. 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.
  2. 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.
  3. Partition: Python-blivet package

  4. Bootloader: pyanaconda/bootloader. py

  5. 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
  6. Installation package:

    • Pyanaconda/packaging/
    • Scripts/Anaconda-yum
  7. Installation class: Different releases can define different installation classes.

    • Pyanaconda/installclass. py
    • Pyanaconda/installclasses/
    • Pyanaconda/product. py
  8. Unattended Installation: pyanaconda/Kickstart. py

  9. Livecd:

    • Data/icons/
    • Data/liveinst/
  10. Error handling:

    • Pyanaconda/errors. py
    • Pyanaconda/exception. py
  11. 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.
  12. 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
  13. Main Program Anaconda: called by systemd after the system is started, set the environment and VNC.

  14. Start

    • Data/systemd/
    • Dracut/
  15. 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.
  16. Upgrade Tool

    • Scripts/makebumpver
    • Scripts/makeupdates

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.