YaST2 Developers Documentation: Configuration of cd-creator

Configuration of cd-creator

modules/CDCreator.ycp
Data for configuration of cd-creator, input and output functions.

This module has an unstable interface.

Representation of the configuration of cd-creator. Input and output routines.

Imports

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

Includes

  • cd-creator/routines.ycp

Global Variables

Global Functions

global AbortFunction -> block<boolean>

Abort function return boolean return true if abort

global modified -> boolean

Data was modified?

global Modified () -> boolean

Data was modified?

Return value:
true if modified
global Read () -> boolean

Read all cd-creator settings

Return value:
true on success
global PrepareConfigs () -> list

Prepare map for writing into XML

Return value:
lists of configurations
global Write () -> boolean

Write all cd-creator settings

Return value:
true on success
global Import (map settings) -> boolean

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

Parameters:
settings The YCP structure to be imported.
Return value:
True on success
global Export () -> map

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

Return value:
Dumped settings (later acceptable by Import ())
global Summary () -> list

Create a textual summary and a list of unconfigured cards

Return value:
summary of the current configuration
global Overview () -> list

Create an overview table with all configured cards

Return value:
table items
global getSourceURLs (list<integer> ids) -> list

Get media urls

Parameters:
ids
Return value:
list of urls
global getSourceDir (string url) -> string

get path to directory source

Parameters:
url
Return value:
path
global Readisolinux () -> string

Return contents of isolinux.cfg from the given source

Return value:
with contents of file.
global configSetup () -> void

Create XML Configuration

global CreateSkeleton () -> boolean

Create Skeleton

Return value:
true on success
global CopyMiscFiles () -> boolean

CopyMiscFiles Copy other files to directory tree

Return value:
true on success
global EnableSource () -> boolean

Enable source and get source meta data

Return value:
true on success
global GetDirSources (string source) -> list<term>

Get all possible sources

Parameters:
source
Return value:
available enabled sources list for widget
global checkProductDependency () -> list

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

global setPackages () -> boolean

Set packages to be copied to iso image tree

global checkPackageAvail () -> string

Check if selected packages are available

Return value:
error message
global CopyPackages () -> boolean

CopyPackages() Copy selected package to target tree

global CDCreator () -> void

Constructor