if no split section is setup we add a default section from the contents of the KIWISplit.txt file and apply it to the split types
Defined on line: 6036
Called in
Clear the given install data object in the proper location in the data structure.
Defined on line: 5260
Called in
Collect and coalesce data for the
Defined on line: 2587
Called in
Collect data for the default profile for the given storage location
in the data strcuture
Defined on line: 2598
Called in
Collect and coalesce data for the
Defined on line: 2647
Called in
Collect and coalesce data for the
Defined on line: 2658
Called in
Collect and coalesce data for the
Defined on line: 2669
Called in
Collect strip data for the given access pattern
Defined on line: 2715
Called in
Collect and coalesce data that is part of a list in XML
Items to be collected must have a getName method.
Defined on line: 2735
Called in
Convert a given size string that contains M or G into a value
that is a representation in MB.
Defined on line: 2825
Called in
Return a ref to a hash that contains the EC2 configuration data for the
given XML:ELEMENT object. Build a data structure that matches the
structure defined in KIWIXMLEC2ConfigData
Defined on line: 2851
Called in
Return a ref to a hash containing the configuration for
Defined on line: 2891
Called in
Return a KIWIXMLPXEDeployData object created from the information
in the
Defined on line: 3078
Called in
Return an array ref to an array containing KIWIXMLPXEDeployConfigData
objects. Created from the information
in the
Defined on line: 3134
Called in
Add data from a collection to the given string
Defined on line: 2960
Called in
Return a KIWIXMLProductOptionsData object created from the
Defined on line: 3032
Called in
Return a ref to a hash containing the configuration for
Defined on line: 3176
Called in
Return a ref to a hash containing the configuration for
Defined on line: 3254
Called in
Return a ref to a hash that contains the configuration data
for the
Defined on line: 3311
Called in
return the contents of the imageConfig data
structure in a readable format
Defined on line: 3398
Return a ref to an array containing ProductPackageData
objects created from the
Defined on line: 3415
Called in
Return a ref to an array containing ProductPackageData
objects created from the
Defined on line: 3438
Called in
Return a ref to an array containing ProductPackageData
objects created from the
Defined on line: 3461
Called in
Return a ref to an array containing InstRepositoryData objects
created from the
Defined on line: 3484
Called in
Return a ref to an array containing ProductMetaChrootData objects
created from the
Defined on line: 3520
Called in
Return a ref to an array containing ProductMetaFileData objects
created from the
Defined on line: 3551
Return a ref to an array containing ProductPackageData objects
created from the
Defined on line: 3583
Called in
Return a ref to an array containing ProductArchitectureData
objects created from the
Defined on line: 3621
Called in
Return a ref to an array containing ProductPackageData
objects created from the
Defined on line: 3656
Called in
Get the architecture list used for building up
an installation source tree
Defined on line: 3677
Called in
Return a ref to an array containing ProductPackageData objects
created from the
Defined on line: 3722
Called in
Return a ref to a hash keyed by the image type values for all
Defined on line: 3758
Called in
Return the value of the node identified by the
given name as text.
Defined on line: 3910
Called in
Return the position in the imageConfig structure where
install data objects shold be stored. Install data objects
are children of the
Defined on line: 3928
Called in
Return a ref to an array containing objects accumulated
across the image config data structure for the given
accessID.
Defined on line: 3989
Called in
Return an array ref containing IgnorePackageData objects
The method is private as it is needed for filtering only. Clients
of the XML object should not do any filtering on the data received.
Defined on line: 4057
Called in
Return a complete preferences element for the given profile name
Defined on line: 4070
Called in
Given an array ref, the keyword "default", or no argument
generate an array of profile names
Defined on line: 4144
Called in
Return the schema version extracted from KIWISchema.rnc
Defined on line: 4188
Called in
Retun an array ref containing names of the configured types for the
given profile names.
Defined on line: 4213
Called in
Extract the
Defined on line: 6109
Check whether the default profile name "kiwi_default" is in the
provided array ref of strings
Defined on line: 6128
Called in
Merge two hashes that represent
Defined on line: 4253
Called in
Merge the given UserData objects. The data from the second user
passed is subsumed by the first user object.
Defined on line: 4340
Called in
Populate the imageConfig member with the
information from
Defined on line: 4366
Called in
Populate the imageConfig member with the
description data from the XML file.
Defined on line: 4418
Called in
Populate the imageConfig member with the
drivers data from the XML file.
Defined on line: 4552
Called in
Populate the imageConfig member with the
information from
Defined on line: 4598
Called in
Populate the imageConfig member with the
product data provided with the
Defined on line: 4453
Called in
Populate the imageConfig member with the
information from
Defined on line: 4726
Called in
Populate the imageConfig member with the
information from
Defined on line: 4642
Called in
Populate the imageConfig member with the
information from
Defined on line: 4779
Called in
Populate the imageConfig member with the
preferences data from the XML file.
Defined on line: 4825
Called in
Populate the imageConfig member with the
profile data from the XML file.
Defined on line: 4941
Called in
Populate the imageConfig member with the
repository data from the XML file.
Defined on line: 5006
Called in
Populate the imageConfig member with the strip data from the XML file.
Defined on line: 5063
Called in
Populate the imageConfig member with the
user data from the XML file.
Defined on line: 5120
Called in
Missing
Defined on line: 6163
Called in
Missing
Defined on line: 6147
Called in
Set the default built type, which upon object construction is also the
the selected built type. The default built type is the first
Defined on line: 5183
Called in
Store the given install data object in the proper
location in the data structure. Install data objects
are objects of children of the
Defined on line: 5295
Called in
Verify the arguments given to any of the add* methods that handle
image installation data.
Defined on line: 5363
Called in
Verify that the profile names in the given array ref are available,
if not print the given msg substituting PROF_NAME in the message
with the name that is in violation.
Defined on line: 5448
Called in
Add the given archives to
- the currently active profiles (not default)
~ if the second argument is undefined
- the default profile
~ if second argument is the keyword "default"
- the specified profiles
~ if the second argument is a reference to an array
- the given image type of the profiles being processed
Defined on line: 455
Add the given archives to
- the currently active profiles (not default)
~ if the second argument is undefined
- the default profile
~ if second argument is the keyword "default"
- the specified profiles
~ if the second argument is a reference to an array
- the given image type of the profiles being processed
Defined on line: 513
Called in
Add the given packages to
- the currently active profiles (not default)
~ if the second argument is undefined
- the default profile
~ if second argument is the keyword "default"
- the specified profiles
~ if the second argument is a reference to an array
Defined on line: 564
Called in
Add the given drivers to
- the currently active profiles (not default)
~ if the second argument is undefined
- the default profile
~ if second argument is the keyword "default"
- the specified profiles
~ if the second argument is a reference to an array
Defined on line: 613
Called in
Add the given StripData objects to
- the currently active profiles (not default)
~ if the second argument is undefined
- the default profile
~ if second argument is the keyword "default"
- the specified profiles
~ if the second argument is a reference to an array
Defined on line: 676
Called in
Add the given StripData objects to
- the currently active profiles (not default)
~ if the second argument is undefined
- the default profile
~ if second argument is the keyword "default"
- the specified profiles
~ if the second argument is a reference to an array
Defined on line: 728
Called in
Add the given package collections to
- the currently active profiles (not default)
~ if the second argument is undefined
- the default profile
~ if second argument is the keyword "default"
- the specified profiles
~ if the second argument is a reference to an array
- the given image type of the profiles being processed
Defined on line: 848
Called in
Add the given packages to
- the currently active profiles (not default)
~ if the second argument is undefined
- the default profile
~ if second argument is the keyword "default"
- the specified profiles
~ if the second argument is a reference to an array
- the given image type of the profiles being processed
Defined on line: 780
Called in
Add the given packages to
- the currently active profiles (not default)
~ if the second argument is undefined
- the default profile
~ if second argument is the keyword "default"
- the specified profiles
~ if the second argument is a reference to an array
Defined on line: 906
Called in
Add the given repositories to
- the currently active profiles (not default)
~ if the second argument is undefined
- the default profile
~ if second argument is the keyword "default"
- the specified profiles
~ if the second argument is a reference to an array
Defined on line: 955
Called in
Add a KIWIXMLSystemdiskData object to the type that is currently
the build type.
Defined on line: 1067
Called in
Add the given StripData objects to
- the currently active profiles (not default)
~ if the second argument is undefined
- the default profile
~ if second argument is the keyword "default"
- the specified profiles
~ if the second argument is a reference to an array
Defined on line: 1102
Called in
Remove all repositories marked as replaceable
Defined on line: 1154
Called in
Return an array ref containing the names of the active profiles;
this does not reveal the default (kiwi_default) name, as this is
always active
Defined on line: 1182
Called in
Return the architecture currently used for data selection
Defined on line: 5594
Return an array ref containing ArchiveData objects
Defined on line: 1203
Called in
Return an array ref containing PackageData objects for the packages
that should be deleted.
Defined on line: 1219
Called in
Return an array ref containing ArchiveData objects
Defined on line: 1231
Called in
Return an array ref containing PackageCollectData objects
Defined on line: 1276
Called in
Return an array ref containing PackageData objects
Defined on line: 1242
Called in
Missing
Defined on line: 1369
Missing
Defined on line: 1360
Return an array ref containing PackageData objects for the packages
that should be used to bootstrap the image.
Defined on line: 1287
Called in
Missing
Defined on line: 5480
Called in
Return an array ref of image type names avaliable across the
selected profiles.
Defined on line: 1311
Called in
Return a hash ref containing strings indicating the driver update
disk architectures.
Defined on line: 1378
Called in
Return an array ref containing ProductPackageData objects
Defined on line: 1393
Called in
Return an array ref containing ProductPackageData objects
Defined on line: 1407
Called in
Return an array ref containing ProductPackageData objects
Defined on line: 1421
Return an object that encapsulates the description information
Defined on line: 1337
Called in
Return an array ref containing DriverData objects for the current
selected build profile(s)
Defined on line: 1348
Called in
Return an EC2ConfigData object for the EC2 configuration of the current
build type.
Defined on line: 1435
Called in
Return an array ref containing StripData objects for the current
selected build profile(s)
Defined on line: 1447
Get the display name of the logical extend
Defined on line: 1459
Called in
Missing
Defined on line: 5489
Called in
Return the configured image name
Defined on line: 1483
Called in
Return a TypeData object for the selected build type
Defined on line: 1494
Called in
Missing
Defined on line: 5605
Called in
Return the install option type setting. Returns undef if there is
a conflict and thus the settings are ambiguous.
Defined on line: 1505
Called in
Return an array ref containing StripData objects for the current
selected build profile(s)
Defined on line: 1535
Return a OEMConfigData object for the selected build type
Defined on line: 1547
Called in
Return a PXEDeployData object for the PXE boot configuration of the
current build type.
Defined on line: 1854
Called in
Return an array ref containing PXEDeployConfigData objects for
current build type.
Defined on line: 1866
Called in
Return an array ref containing PackageCollectData objects
Defined on line: 1624
Return an array ref containing PackageData objects
Defined on line: 1578
Return an array ref containing PackageData objects for the packages
that should be deleted.
Defined on line: 1638
Called in
Return a new KIWIXMLPreferenceData object which references
the sum of all default and currently selected build
profile(s)
Defined on line: 1679
Called in
Return an array ref of ProductArchitectureData objects.
Defined on line: 1707
Return an array ref of ProductMetaChrootData objects specified as
metadata.
Defined on line: 1721
Called in
Return an array ref of ProductMetaFileData objects specified as
metadata.
Defined on line: 1736
Called in
Return an array ref of ProductPackageData objects specified as
metadata.
Defined on line: 1751
Called in
Return a ProductOptionsData object providing all information from
Defined on line: 1766
Called in
Return an array ref of InstRepositoryData objects
Defined on line: 1781
Called in
Return a hash ref of strings indicating the required architectures
Defined on line: 1795
Called in
Return an array ref of ProductPackageData objects
Defined on line: 1820
Called in
Return an array ref containing ProductData objects
Defined on line: 1809
Called in
Return an array ref of ProfileData objects available for this image
Defined on line: 1834
Called in
Return an array reference of KIWIXMLRepositories objects that are
specified to be part of the current profile(s)
Defined on line: 1878
Missing
Defined on line: 5635
Called in
Return a SplitData object for the
Defined on line: 1898
Called in
Return a SystemdiskData object for the
Defined on line: 1910
Called in
Return an array ref containing PackageData objects for the packages
that should be used in a testsuite run.
Defined on line: 1299
Called in
Return an array ref containing StripData objects for the current
selected build profile(s)
Defined on line: 1922
Return a TypeDataObject for the given type if found in the
active profiles.
Defined on line: 1934
Return a reference to an array holding UserData objects
Defined on line: 1966
Called in
Return a VMachineData object for the virtual machine configuration of
the current build type
Defined on line: 2001
Called in
Ignore all the repositories in the XML file.
Defined on line: 2033
Called in
Missing
Defined on line: 5554
Missing
Defined on line: 5584
Called in
KIWI XML processor and data store
The XML object processes the configuration file and
stores that data in the imageConfig hash. The hash is
layed out as a data structure that resembles the XML
file and allows easy access to the data for the use
by other objects.
Other objects never get access to the internal structure
and can only manipulate data via set methods or retrieve
data via get methods. Wherever access to complex
information is required the XML object will provide a
specific object for this data. The provided object in
turn has get and set methods to access the data.
internal data structure
this = {
availableProfiles = ('',....)
defaultType = {
ec2config = KIWIXMLEC2ConfigData
machine = KIWIXMLVMachineData
oemconfig = KIWIXMLOEMConfigData
pxeconfig = (KIWIXMLPXEDeployConfigData,...)
pxedeploy = KIWIXMLPXEDeployData
split = KIWIXMLSplitData
systemdisk = KIWIXMLSystemdiskData
type = KIWIXMLTypeData
},
selectedProfiles = ('',....,'kiwi_default')
selectedType = {
ec2config = KIWIXMLEC2ConfigData
machine = KIWIXMLVMachineData
oemconfig = KIWIXMLOEMConfigData
pxeconfig = (KIWIXMLPXEDeployConfigData,...)
pxedeploy = KIWIXMLPXEDeployData
split = KIWIXMLSplitData
systemdisk = KIWIXMLSystemdiskData
type = KIWIXMLTypeData
},
imageConfig = {
description = KIWIXMLDescriptionData
displayName = ''
imageName = ''
productSettings = {
dudArches = ('',...)
reqArches = ('',...)
options = KIWIXMLProductOptionsData
architectures = (KIWIXMLProductArchitectureData,... )
dudInstSysPkgs = (KIWIXMLProductPackageData,... )
dudModulePkgs = (KIWIXMLProductPackageData,... )
dudPkgs = (KIWIXMLProductPackageData,... )
instRepos = (KIWIXMLInstRepositoryData,... )
metaChroots = (KIWIXMLProductMetaChrootData,...)
metaFiles = (KIWIXMLProductMetaFileData,...)
metaPkgs = (KIWIXMLProductPackageData,... )
prodPkgs = (KIWIXMLProductPackageData,...)
}
Defined on line: 78
Called in
Set the architecture to use to retrieve information
Defined on line: 5534
Missing
Defined on line: 5502
Called in
Set the type to be used as the build type
Defined on line: 2057
Called in
Set the description information for this configuration
Defined on line: 2098
Set the display name used for the boot menu
Defined on line: 1470
Called in
Store a new OEMConfigData object for the selected build type
Defined on line: 1558
Called in
set new list of PackageData objects for the packages
that should be deleted.
Defined on line: 1650
Called in
Set the preferences for the currently selected profiles. We divide
each setting to the profile where it is already defined. If a setting
is not defined we set the value on the default profile.
If I build profiles A, B, and C and am given preferences to set this
method will set, for example the bootloader_theme in the profile where
the bootloader_theme is defined, A, B, or C or in the default profile
if not defined in any of the other profiles.
Defined on line: 2120
Called in
Overwrite the first repository marked as replaceable for the
currently active profiles, the search starts with the default
profile
Defined on line: 2181
Called in
Set the information about which profiles to use for data access,
if no argument is given set to the default profile(s)
Defined on line: 2241
Called in
Store a new VMachineData object
Defined on line: 2013
Called in
Modify the type that is currently the build type
Defined on line: 2283
Called in
Write the configuration to the given path
Writes the XML in formated format
Defined on line: 2311
Called in
__collectDefaultData
__collectDeletePackagesData
__collectDriverData
__collectPackagesData
__collectStripData
__collectXMLListData
__convertSizeStrToMBVal
__createEC2Config
__createOEMConfig
__createPXEDeployConfig
__createPXEDeployConfigData
__createPackageCollectionDataXML
__createProductOptions
__createSplitData
__createSystemDiskData
__createVMachineConfig
__dumpInternalXMLDescription
__genDUDInstSysPkgsArray
__genDUDModulePkgsArray
__genDUDPkgsArray
__genInstRepoArray
__genMetadataChrootArray
__genMetadataFileArray{
__genMetadataPkgsArray
__genProductArchitectureArray
__genProductPackagesArray
__genProductReqArchHash
__genRepoPackagesArray
__genTypeHash
__getChildNodeTextValue
__getEntryPath
__getInstallData
__getPackagesToIgnore
__getPreferencesXMLElement
__getProfsToModify
__getSchemaVersion
__getTypeNamesForProfs
__getVMConfigOpts
__hasDefaultProfName
__mergePreferenceData
__mergeUsers
__populateArchiveInfo
__populateDescriptionInfo
__populateDriverInfo
__populateIgnorePackageInfo
__populateInstSource
__populatePackageCollectionInfo
__populatePackageInfo
__populatePackageProductInfo
__populatePreferenceInfo
__populateProfileInfo
__populateRepositoryInfo
__populateStripInfo
__populateUserInfo
__resolveArchitecture
__resolveLink
__setDefaultBuildType
__storeInstallData
__verifyAddInstallDataArgs
__verifyProfNames
addArchives
addBootstrapArchives
addBootstrapPackages
addDrivers
addFilesToDelete
addLibsToKeep
addPackageCollections
addPackages
addPackagesToDelete
addRepositories
addSystemDisk
addToolsToKeep
discardReplacableRepos
getActiveProfileNames
getArch
getArchives
getBootDeletePackages
getBootIncludeArchives
getBootIncludePackageCollections
getBootIncludePackages
getBootKernel
getBootProfile
getBootstrapPackages
getConfigName
getConfiguredTypeNames
getDUDArchitectures
getDUDInstallSystemPackages
getDUDModulePackages
getDUDPackages
getDescriptionInfo
getDrivers
getEC2Config
getFilesToDelete
getImageDisplayName
getImageID
getImageName
getImageType
getInstSourceSatSolvable
getInstallOption
getLibsToKeep
getOEMConfig
getPXEConfig
getPXEConfigData
getPackageCollections
getPackages
getPackagesToDelete
getPreferences
getProductArchitectures
getProductMetaChroots
getProductMetaFiles
getProductMetaPackages
getProductOptions
getProductRepositories
getProductRequiredArchitectures
getProductSourcePackages
getProducts
getProfiles
getRepositories
getSingleInstSourceSatSolvable
getSplitConfig
getSystemDiskConfig
getTestSuitePackages
getToolsToKeep
getType
getUsers
getVMachineConfig
ignoreRepositories
isArchAllowed
isDriverUpdateDisk
new
setArch
setBootProfiles
setBuildType
setDescriptionInfo
setImageDisplayName
setOEMConfig
setPackagesToDelete
setPreferences
setRepository
setSelectionProfileNames
setVMachineConfig
updateType
writeXML