calamares/src/modules
Aurélien Gâteau 5c594f8dd7 Fix doc
2014-07-17 14:57:16 +02:00
..
dummyprocess Alignment fix. 2014-07-16 15:53:43 +02:00
dummypython Add dummy python jobmodule. 2014-07-16 16:10:49 +02:00
greeting Prepare for late enqueuing of jobs to the JobQueue. 2014-07-08 14:03:06 +02:00
keyboard Add prettyStatus to Keyboard module. 2014-07-08 18:28:28 +02:00
locale Make the locale viewmodule load the initial timezone from config. 2014-07-15 11:35:05 +02:00
partition Fix doc 2014-07-17 14:57:16 +02:00
summary Add status info to Summary page. Still needs work to make it nice. 2014-07-08 18:28:27 +02:00
CMakeLists.txt Add CalamaresAddModuleSubdirectory, a CMake function for modules that 2014-07-14 16:26:10 +02:00
README.md Update README.md 2014-07-16 17:11:25 +02:00

Calamares modules directory

Calamares modules are plugins that provide features like installer pages, batch jobs, etc. Each Calamares module lives in its own directory.

Qt plugin viewmodules

Currently the only way to write a module which exposes one or more installer pages (viewmodule) is through a Qt plugin. Viewmodules should implement Calamares::ViewStep. They can also implement Calamares::Job to provide jobs.

To add a Qt plugin module, put it in a subdirectory and make sure it has a module.conf and a CMakeLists.txt with a calamares_add_plugin call. It will be picked up automatically by our CMake magic.

Python and process jobmodules

Batch jobs for Calamares can be written as Python scripts or as generic commands (shell scripts, external programs, etc.). To add a Python or process jobmodule, put it in a subdirectory and make sure it has a module.conf. It will be picked up automatically by our CMake magic. CMakeLists.txt is not used for Python and process jobmodules.