Configuration of product-creator |
modules/ProductCreator.ycp |
Data for configuration of product-creator, input and output functions. | |
|
|
This module has an unstable interface. |
Representation of the configuration of product-creator.
Input and output routines.
Imports
Global VariablesGlobal Functions
Local Functions |
Abort function return boolean return true if abort
Set the target package architecture
- Parameters:
-
new_arch new architecture (i386, i486, i586, i686, sparc, sparc64, mips, mips64, ppc, ppc64, alpha, s390, s390x, ia64, x86_64)
- Return value:
-
true on success
Data was modified?
Data was modified?
- Return value:
-
true if modified
Abort function
- Return value:
-
blah blah lahjk
Check for pending Abort press
- Return value:
-
true if pending abort
If modified, ask for confirmation
- Return value:
-
true if abort is confirmed
Progress::NextStage and Progress::Title combined into one function
- Parameters:
-
title progressbar title
Read all product-creator settings
- Return value:
-
true on success
Prepare map for writing into XML
- Return value:
-
lists of configurations
Write all product-creator settings
- Return value:
-
true on success
Get all product-creator settings from the first parameter (For use by autoinstallation.)
- Parameters:
-
settings The YCP structure to be imported.
- Return value:
-
True on success
Dump the product-creator settings to a single map (For use by autoinstallation.)
- Return value:
-
Dumped settings (later acceptable by Import ())
Create a textual summary and a list of unconfigured cards
- Return value:
-
summary of the current configuration
Create an overview table with all configured cards
- Return value:
-
table items
Get media urls
- Parameters:
-
ids
- Return value:
-
list of urls
get path to directory source
- Parameters:
-
url
- Return value:
-
path
Return contents of isolinux.cfg from the given source
- Return value:
-
with contents of file.
Create XML Configuration
Check Product dependencies and determine product to be used for booting. Also determine what is the main product.
Write the modified file with pattern definitions
- Parameters:
-
file_path path to pattern file patterns list of patterns defined in this file
- Return value:
-
success
Create Skeleton
- Parameters:
-
base_source bootable_product boot_architecture
- Return value:
-
true on success
see http://en.opensuse.org/Secure_Installation_Sources
- Parameters:
-
gpg_key GPG key ID or empty if the product should be unsigned initrd_file path to the initrd file
- Return value:
-
true on success
CopyMiscFiles Copy other files to directory tree
- Parameters:
-
boot_arch
- Return value:
-
true on success
Enable source and get source meta data
- Return value:
-
true on success
Get all possible sources
- Parameters:
-
source
- Return value:
-
available enabled sources list for widget
Check if there is a language selected in the package manager, if not then select the language used in the UI. Htis prevents the solver from allocating too many resources (see bug #339756)
Set packages to be copied to iso image tree
Check if selected packages are available
- Return value:
-
error message
CopyPackages() Copy selected package to target tree
Constructor