33. CDCreator

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

33.1. Summary of Module Globals

List of Global Functions

  • CDCreator - Constructor

  • 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 cd-creator settings to a single map (For use by autoinstallation.)

  • GetDirSources - Get all possible sources

  • Import - Get all cd-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

  • Read - Read all cd-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 cd-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

  • getRpmPath - getRpmPath get physical rpm location

  • getSourceDir - get path to directory source

  • getSourceURLs - Get media urls

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

List of Global Variables

33.2. Global Functions

33.2.1. CDCreator

Constructor

Return value

  • void

33.2.2. CopyMiscFiles

CopyMiscFiles Copy other files to directory tree

Return value

  • boolean - true on success

33.2.3. CopyPackages

CopyPackages() Copy selected package to target tree

Return value

  • boolean

33.2.4. CreateSkeleton

Create Skeleton

Return value

  • boolean - true on success

33.2.5. EnableSource

Enable source and get source meta data

Return value

  • boolean - true on success

33.2.6. Export

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

Return value

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

33.2.7. GetDirSources

Get all possible sources

Function parameters

  • string source

Return value

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

33.2.8. Import

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

Function parameters

  • map settings

Return value

  • boolean - True on success

33.2.9. Modified

Data was modified?

Return value

  • boolean - true if modified

33.2.10. Overview

Create an overview table with all configured cards

Return value

  • list - table items

33.2.11. PrepareConfigs

Prepare map for writing into XML

Return value

  • list - lists of configurations

33.2.12. Read

Read all cd-creator settings

Return value

  • boolean - true on success

33.2.13. Readisolinux

Return contents of isolinux.cfg from the given source

Return value

  • string - with contents of file.

33.2.14. Summary

Create a textual summary and a list of unconfigured cards

Return value

  • list - summary of the current configuration

33.2.15. Write

Write all cd-creator settings

Return value

  • boolean - true on success

33.2.16. checkPackageAvail

Check if selected packages are available

Return value

  • string - error message

33.2.17. checkProductDependency

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

Return value

  • list

33.2.18. configSetup

Create XML Configuration

Return value

  • void

33.2.19. getRpmPath

getRpmPath get physical rpm location

Function parameters

  • map package_data

Return value

  • string

33.2.20. getSourceDir

get path to directory source

Function parameters

  • string url

Return value

  • string - path

33.2.21. getSourceURLs

Get media urls

Function parameters

  • list<integer> ids

Return value

  • list - list of urls

33.2.22. setPackages

Set packages to be copied to iso image tree

Return value

  • boolean

33.3. Global Variables

33.3.1. AbortFunction

Abort function return boolean return true if abort

33.3.2. modified

Data was modified?

33.4. Module Requirements

33.4.1. Module Imports

  • Arch
  • AutoinstSoftware
  • Directory
  • Misc
  • PackageAI
  • Profile
  • Progress
  • Report
  • String
  • Summary
  • URL
  • XML

33.4.2. Module Includes

  • cd-creator/routines.ycp