YaST Tutorials


Table of Contents

1. YaST Development in General
1.1. Before You Start Development
1.1.1. Development Environment
1.1.2. Terminology
1.1.3. YaST Directory Structure
2. Tutorial 1—Simple YaST Module
2.1. Best Practices
2.2. What the Module Should Really Do?
2.2.1. General Project Specifications and Terms
2.2.2. Tutorial Example
2.3. Starting Up
2.3.1. Creating a New YaST Module
2.3.2. Checking the Progress
2.4. YaST Module Files
2.4.1. Project Files & YaST Layers
2.4.2. Internal Workflow Explanation
2.4.3. Familiarizing with Source Files
2.5. Cleaning Up Skeleton for the SSHD Configuration
2.5.1. Modifying Source Files
2.5.2. Checking the Progress
2.6. Creating User Interface
2.6.1. Dialog Wizard
2.6.2. Dialog Content
2.6.3. Standard Dialog Handling by a While-Loop
2.7. Creating Access to the Configuration Data
2.7.1. SCR Agent
2.8. Using the Access to the Configuration Data
2.8.1. The Data Model
2.8.2. Reading and Writing the Configuration
2.8.3. Checking the Syntax
2.8.4. YCP Module Compilation
2.9. Connecting the Configuration Data with the UI
2.9.1. Getting and Setting the Configuration Data
2.9.2. Configuration Handling
2.9.3. Adding the Complex Connection into the Dialogs
2.9.4. Checking the Progress
2.10. Mission Completed
2.10.1. Final Look & Feel
2.11. Conclusion
2.11.1. YaST Knowledge Summary
2.11.2. Downloads
2.12. Testing and Tuning

Abstract

These tutorials can help you to learn to develop your own YaST modules from scratch as quickly as possible. For more examples of YaST, see the /usr/share/YaST2/ directory.