YaST2 Developers Documentation: Unknown YCP Module

Unknown YCP Module

This module has an unstable interface.

Imports

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

Global Variables

Global Functions

Local Functions

Info:

File: modules/AddOnCreator.ycp Package: Configuration of add-on-creator Summary: AddOnCreator settings, input and output functions Authors: Jiri Suchomel

$Id: AddOnCreator.ycp 32477 2006-08-22 09:24:20Z jsuchome $

global modified -> boolean

Data was modified?

global Modified () -> boolean

Data was modified?

Return value:
true if modified
Info:

Abort function return boolean return true if abort

global Abort () -> boolean

Abort function

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

Initialize the settings for add-on-creator

Return value:
true on success
global WriteContentFile (string base_path, list<map> content_data) -> boolean

Write the content file

Parameters:
base_path
content_data
Return value:
success
global WriteStringFiles (string base_path, map<string,string> files) -> boolean

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

Parameters:
base_path
files
Return value:
success
global CreateAddOnStructure (string base_path) -> boolean

Create the directory structure of the Add-On

Parameters:
base_path
Return value:
success
global WriteProductsFiles (string base_path, list<string> p_files) -> boolean

Create the products file FIXME should it be generated?

Parameters:
base_path path to base output directory
p_files
Return value:
success
global WriteMediaFiles (string base_path, list<string> m_files) -> boolean

Write the media.n/media files

Parameters:
base_path path to base output directory
m_files
Return value:
success
global WritePatterns (string base_path) -> boolean

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

Parameters:
base_path
global CopyRPMs (string in_path, string base_path) -> boolean

Parameters:
in_path
base_path
Return value:
success
local WriteWorkflow (string base_path, string desc_path, list<string> packages, string y2update_p) -> boolean

Write the modification of installation workflow

Parameters:
base_path path to base output directory
desc_path path to workflow description file
packages list with paths of packages to be included in y2update.tgz
y2update_p
global CreateMD5SUMS (string base_path) -> boolean

Create MD5SUMS files

Parameters:
base_path
Return value:
success
global SignAddOn (string base_path, string key) -> boolean

Sign the add-on

Parameters:
base_path
key
global CreateDirectoryYaSTFiles (string base_path) -> boolean

Create directory.yast files (the last step)

Parameters:
base_path
Return value:
success
global CreateISOImage (string dir_path, string iso_p) -> boolean

Create an ISO image of the product

Parameters:
dir_path
iso_p
global Write () -> boolean

Write all add-on-creator settings

Return value:
true on success