198. ProductCreator

Data for configuration of product-creator, input and output functions.

198.1. Summary of Module Globals

List of Global Functions

  • CopyMiscFiles - CopyMiscFiles Copy other files to directory tree

  • CopyPackages - CopyPackages() Copy selected package to target tree

  • CreateSkeleton - Create Skeleton

  • EnableSource - Enable source and get source meta data

  • Export - Dump the product-creator settings to a single map (For use by autoinstallation.)

  • GetDirSources - Get all possible sources

  • Import - Get all product-creator settings from the first parameter (For use by autoinstallation.)

  • Modified - Data was modified?

  • Overview - Create an overview table with all configured cards

  • PrepareConfigs - Prepare map for writing into XML

  • ProductCreator - Constructor

  • Read - Read all product-creator settings

  • Readisolinux - Return contents of isolinux.cfg from the given source

  • Summary - Create a textual summary and a list of unconfigured cards

  • Write - Write all product-creator settings

  • checkPackageAvail - Check if selected packages are available

  • checkProductDependency - Check Product dependencies and determine product to be used for booting. Also determine what is the main product.

  • configSetup - Create XML Configuration

  • getSourceDir - get path to directory source

  • getSourceURLs - Get media urls

  • setPackages - Set packages to be copied to iso image tree

List of Global Variables

198.2. Global Functions

198.2.1. CopyMiscFiles

CopyMiscFiles Copy other files to directory tree

Return value

  • boolean - true on success

198.2.2. CopyPackages

CopyPackages() Copy selected package to target tree

Return value

  • boolean

198.2.3. CreateSkeleton

Create Skeleton

Return value

  • boolean - true on success

198.2.4. EnableSource

Enable source and get source meta data

Return value

  • boolean - true on success

198.2.5. Export

Dump the product-creator settings to a single map (For use by autoinstallation.)

Return value

  • map - Dumped settings (later acceptable by Import ())

198.2.6. GetDirSources

Get all possible sources

Function parameters

  • string source

Return value

  • list<term> - available enabled sources list for widget

198.2.7. Import

Get all product-creator settings from the first parameter (For use by autoinstallation.)

Function parameters

  • map settings

Return value

  • boolean - True on success

198.2.8. Modified

Data was modified?

Return value

  • boolean - true if modified

198.2.9. Overview

Create an overview table with all configured cards

Return value

  • list - table items

198.2.10. PrepareConfigs

Prepare map for writing into XML

Return value

  • list - s of configurations

198.2.11. ProductCreator

Constructor

Return value

  • void

198.2.12. Read

Read all product-creator settings

Return value

  • boolean - true on success

198.2.13. Readisolinux

Return contents of isolinux.cfg from the given source

Return value

  • string - with contents of file.

198.2.14. Summary

Create a textual summary and a list of unconfigured cards

Return value

  • list - summary of the current configuration

198.2.15. Write

Write all product-creator settings

Return value

  • boolean - true on success

198.2.16. checkPackageAvail

Check if selected packages are available

Return value

  • string - error message

198.2.17. checkProductDependency

Check Product dependencies and determine product to be used for booting. Also determine what is the main product.

Return value

  • integer

198.2.18. configSetup

Create XML Configuration

Return value

  • void

198.2.19. getSourceDir

get path to directory source

Function parameters

  • string url

Return value

  • string - path

198.2.20. getSourceURLs

Get media urls

Function parameters

  • list<integer> ids

Return value

  • list - list of urls

198.2.21. setPackages

Set packages to be copied to iso image tree

Return value

  • boolean

198.3. Global Variables

198.3.1. AbortFunction

Abort function return boolean return true if abort

198.3.2. modified

Data was modified?

198.4. Module Requirements

198.4.1. Module Imports

  • Arch
  • AutoinstSoftware
  • CommandLine
  • Directory
  • GPG
  • GPGWidgets
  • Misc
  • Mode
  • PackageAI
  • Profile
  • Profile
  • Progress
  • Report
  • String
  • Summary
  • URL
  • XML

198.4.2. Module Includes

  • product-creator/routines.ycp