YaST2 Developers Documentation: Configuration of product-creator

Configuration of product-creator

include/product-creator/kiwi.ycp
Dialogs for kiwi configuration
  • Jiri Suchomel

This module has an unstable interface.

Imports

  • CWM
  • CWMTab
  • Directory
  • FileUtils
  • Kiwi
  • Label
  • Message
  • Package
  • PackageSystem
  • Popup
  • ProductCreator
  • SourceDialogs
  • SourceManager
  • String
  • Summary
  • URL
  • Wizard

Includes

  • product-creator/dialogs.ycp
  • product-creator/routines.ycp

Local Functions

local InitSWIgnore (string id) -> void

Initialize the widget with ignored packages

Parameters:
id
local InitSWDelete (string id) -> void

Initialize the widget with packages intended for deletion

Parameters:
id
local InitSWRichText (string id) -> void

Initialize the contents of richtext with selected software

Parameters:
id
local HandleSWSelection (string key, map event) -> symbol

Handler for software selection

Parameters:
key
event
local InitSWSelectionCombo (string id) -> void

initialize the combo box with package selection groups

Parameters:
id
local HandleSWSelectionCombo (string key, map event) -> symbol

handler for combo box with package sets items

Parameters:
key
event
local InitBootCombo (string id) -> void

initialize the value of combo box with boot items

Parameters:
id
local StoreBootCombo (string key, map event) -> void

store the value of current boot image

Parameters:
key
event
local HandleBootCombo (string key, map event) -> symbol

handler for combo box with boot items

Parameters:
key
event
local InitCompressCheckBox (string id) -> void

initialize the value of compress checkbox

Parameters:
id
local StoreCompressCheckBox (string key, map event) -> void

store the value of compress checkbox

Parameters:
key
event
local HandleCompressCheckBox (string key, map event) -> symbol

handler for compress checkbox

Parameters:
key
event
local InitVersion (string id) -> void

initialize the value of version

Parameters:
id
local StoreVersion (string key, map event) -> void

store the value of current version

Parameters:
key
event
local HandleVersion (string key, map event) -> symbol

handler for version

Parameters:
key
event
local InitSizeUnitCombo (string id) -> void

initialize the value of size unit

Parameters:
id
local InitSize (string id) -> void

initialize the value of version

Parameters:
id
local StoreSize (string key, map event) -> void

store the size value

Parameters:
key
event
local HandleSize (string key, map event) -> symbol

handler for size widget: store value on exit/save

Parameters:
key
event
local InitLabel (string id) -> void

initialize the product label

Parameters:
id
local InitGeneric (string id) -> void

universal widget: initialize the string value of widget @param

Parameters:
id
local StoreGeneric (string key, map event) -> void

store the string value of given widget

Parameters:
key
event
local HandleGeneric (string key, map event) -> symbol

handler for general string-value widgets: store their value on exit/save

Parameters:
key
event
local InitDescription (string id) -> void

initialize the string value of "description" related widget

Parameters:
id
local StoreDescription (string key, map event) -> void

store the string value of "description" related given widget

Parameters:
key
event
local HandleDescription (string key, map event) -> symbol

handler for string-value "description" related widgets: store on exit/save

Parameters:
key
event
local InitPreferences (string id) -> void

initialize the string value of "preferences" related widget

Parameters:
id
local StorePreferences (string key, map event) -> void

store the string value of "preferences" related given widget

Parameters:
key
event
local HandlePreferences (string key, map event) -> symbol

handler for string-value "preferences" related widgets: store on exit/save

Parameters:
key
event
local InitUsersTable (string id) -> void

initialize the table with users

Parameters:
id
local HandleAddEditUser (string key, map event) -> symbol

Handle changes in users table

Parameters:
key
event
local HandleDeleteUser (string key, map event) -> symbol

handle delete user button

Parameters:
key
event
local InitRootDirTable (string id) -> void

initialize the table with root dir contents

Parameters:
id
local InitConfigDirTable (string id) -> void

initialize the table with config dir contents

Parameters:
id
local BrowseDirectoryHandler (string key, string label) -> string

universal handler for directory browsing

Parameters:
key
label
local HandleBrowseRootDirectory (string key, map event) -> symbol

handler for 'root' directory browse

Parameters:
key
event
local HandleBrowseConfigDirectory (string key, map event) -> symbol

handler for 'config' directory browse

Parameters:
key
event
local BrowseFileHandler (string key, string label) -> string

universal handler for file browsing

Parameters:
key
label
local HandleBrowseImagesFile (string key, map event) -> symbol

Handler for browsing for images.sh file

Parameters:
key
event
local HandleBrowseAutoYaSTFile (string key, map event) -> symbol

Handler for browsing for autoyast profile

Parameters:
key
event
local HandleImportConfigFile (string key, map event) -> symbol

Handler for importing config.sh file

Parameters:
key
event
local HandleImportImagesFile (string key, map event) -> symbol

Handler for importing images.sh file TODO same function as HandleImportConfigFile

Parameters:
key
event
local CreateImage (string key, map event) -> boolean

handler for main action: create the iso image with kiwi

Parameters:
key
event
local InitImageConfiguration () -> void

Global init function for Kiwi image dialog - read saved settings and fill in defaults

local KiwiDialog () -> symbol

Main dialog for Kiwi image configuration

local PrepareDialog () -> symbol

Prepare dialog: define kiwi data without product-creator