1. AddOnCreator

1.1. Summary of Module Globals

List of Global Functions

List of Global Variables

1.2. Global Functions

1.2.1. CopyRPMs

Copy the packages from the source directory to target

Function parameters

  • string in_path

  • string base_path

Return value

  • boolean - success

1.2.2. CreateAddOnStructure

Create the directory structure of the Add-On

Function parameters

  • string base_path

Return value

  • boolean - success

1.2.3. CreateDirectoryYaSTFiles

Create directory.yast files (the last step)

Function parameters

  • string base_path

Return value

  • boolean - success

1.2.4. CreateISOImage

Create an ISO image of the product

Function parameters

  • string dir_path

  • string iso_p

Return value

  • boolean

1.2.5. CreateMD5SUMS

Create MD5SUMS files

Function parameters

  • string base_path

Return value

  • boolean - success

1.2.6. GenerateGPGKey

Generate the key pair

Function parameters

  • map<string,string> data

Return value

  • string

1.2.7. Modified

Data was modified?

Return value

  • boolean - true if modified

1.2.8. Read

Initialize the settings for add-on-creator

Return value

  • boolean - true on success

1.2.9. SignAddOn

Sign the add-on

Function parameters

  • string base_path

  • string key

Return value

  • boolean

1.2.10. Write

Write all add-on-creator settings

Return value

  • boolean - true on success

1.2.11. WriteContentFile

Write the content file

Function parameters

  • string base_path

  • list<map> content_data

Return value

  • boolean - success

1.2.12. WriteMediaFiles

Write the media.n/media files

Function parameters

  • string base_path

  • list<string> m_files

  • string next

Return value

  • boolean - success

1.2.13. WritePatchesFiles

Create the patches files

Function parameters

  • string base_path

  • list<string> p_files

Return value

  • boolean - success

1.2.14. WritePatterns

Write all files with patterns definitions TODO use agent...

Function parameters

  • string base_path

Return value

  • boolean

1.2.15. WriteProductsFiles

Create the products file FIXME editor - see ExpertSettingsDialog3

Function parameters

  • string base_path

  • list<string> p_files

Return value

  • boolean - success

1.2.16. WriteStringFiles

Write the readme/COPYING/COPYRIGHT... files in base_path

Function parameters

  • string base_path

  • map<string,string> files

Return value

  • boolean - success

1.3. Global Variables

1.3.1. modified

Data was modified?

1.4. Module Requirements

1.4.1. Module Imports

  • Directory
  • FileUtils
  • Package
  • Popup
  • Progress
  • Report

1.4.2. Module Includes