Unknown YCP Module |
|
This module has an unstable interface. |
File: modules/AddOnCreator.ycp
Package: Configuration of add-on-creator
Summary: AddOnCreator settings, input and output functions
Authors: Jiri Suchomel
$Id: AddOnCreator.ycp 47869 2008-05-26 14:01:38Z jsuchome $
where the configurations are stored
list of all configured AddOn products
map of the Add-On product currently in use
variables from content file + their description
if we have 'source add-on' to base the new one on
path to directory with existing product (which is being cloned)
if the descriptions of packages should be generated (false have only sense when cloning where they could be read from description files of cloned product)
if final Add-On should be bootable (feature not implemented)
Data was modified?
Data was modified?
- Return value:
-
true if modified
Take list of content-file data and update global content_map. If argument is empty, global 'content' list is used as an input.
- Parameters:
-
content_list
Generate the key pair
- Parameters:
-
data
Initialize the settings for add-on-creator
- Return value:
-
true on success
Take a path to compressed file as argument and return path to uncompressed one\
- Parameters:
-
file_path
read all the patterns defined in given file
- Parameters:
-
file_path
- Return value:
-
of pattern maps
import the data from existing add-on
- Parameters:
-
dir_path
converts the output of find command (=possibly big string with each file on one line), to the list of smaller strings (<128kB), each with space separated file names
- Parameters:
-
stdout output of find command
Write the content file
- Parameters:
-
base_path content_data
- Return value:
-
success
Write the readme/COPYING/COPYRIGHT... files in base_path
- Parameters:
-
base_path files
- Return value:
-
success
generate the paths of media, data and description dirs
- Parameters:
-
base_path
Create the directory structure of the Add-On
- Parameters:
-
base_path
- Return value:
-
success
Generate the package descriptions using create_package_descr
Write the package descriptions edited by user
- Parameters:
-
descr_path descr
Generate ARCHIVES.gz, INDEX.gz and ls-lR.gz
- Parameters:
-
base_path path to base output directory
Create the patches files
- Parameters:
-
base_path path to base output directory p_files
- Return value:
-
success
Create the products file FIXME editor - see ExpertSettingsDialog3
- Parameters:
-
base_path path to base output directory p_files
- Return value:
-
success
Write the media.n/media files
- Parameters:
-
base_path path to base output directory m_files list of media files contents next content of nextmedia file
- Return value:
-
success
Write the text of available licenses to correct places
- Parameters:
-
descr_path base_path full path to base output directory files
Write all files with patterns definitions
- Parameters:
-
descr_path base_path path to base output directory
Copy the packages from the source directory to target
- Parameters:
-
in_path source path base_path destination directory
- Return value:
-
success
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
Generate Changelog for the product
- Parameters:
-
base_path base output path
Generate servicepack.tar.gz archive for bootable media
- Parameters:
-
base_path base output path
Create MD5SUMS files
- Parameters:
-
base_path
- Return value:
-
success
Report the error with failed gpg and ask for possible new entering of pw
- Parameters:
-
message failure
Sign the add-on
- Parameters:
-
base_path key
Create directory.yast files (the last step)
- Parameters:
-
base_path
- Return value:
-
success
Create an ISO image of the product
- Parameters:
-
dir_path iso_p name
Reset all settings related to current product
save the data with current configuration into global list + reset the current product map
Write all AddOn products configurations
prepare the data of current product for a build (neccessary because input packages could get changed)
Write all add-on-creator settings
- Return value:
-
true on success
Export the settings about current Add-On product