#include <Y2PM.h>
|
|
|
|
|
|
|
Add locales to requested locales. |
|
Access to the list of allowed architectures |
|
Access to the (target) base architecture |
|
If false, InstSrc will not create a data cache in ramdisk, if not running from system. |
|
|
|
OBSOLETE, using installrank argument * |
|
package deletion/installation main loop deletes/installs all packages currently marked in packageManager() if media_nr == 0, install everything regardless of media nr if media_nr > 0, install only from this media nr return list of failed package names in errors_r return list of unavailable packages (due to InstSrc errors or wrong media nr) in remaining_r return list of unavailable source packages (due to InstSrc errors or wrong media nr) in srcremaining_r return number of sucessfully installed packages |
|
|
|
Remove locales from requested locales. |
|
Return the locale fallbacks for PreferredLocale. |
|
Return an ordered list of locales to try. For 'de_DE' you may for example get a list like: { de_DE, de, en } |
|
Return the preferred locale. The preferred language for labels, descritions, etc. passed to the UI. |
|
Return requested locales. Languages to be supported by the system, i.e. language specific packages to be installed by e.g. selections. |
|
Returns true, if an InstSrcManager is present. |
|
Install a single rpm file. |
|
Access to the installation source manager |
|
Access to the installation target. Target is uninitialized untill instTargetInit and after instTargetClose. |
|
Shutdown access to the installation target. Provided packages and selections will be withdrawn from existing managers. |
|
Initialize the installation target to use the system located below root_r. If the installation target is already initialized, a provided root_r must match the root path in use, otherwise an error is returned. If no root_r (or an empty path) is provided, an already initialized target is used, otherwise it's initialized to use "/". If the installation target actually gets initialized, packages and selections are loaded into already existing managers. Otherwise managers will retrieve their data as they are created. Use instTargetUpdate if you want to make shure, that installation target and managers exist and are up to date. |
|
Make shure, that installation target is initialized and managers exist. Check whether databases on target need to be reread, and load the updated content into the managers. NOTE: If the installation target has to use some other location than "/", make shure you explicitly call instTargetInit before. |
|
Triggered by InstSrcManager whenever InstSrc ranks were changed. We have to adjust e.g. package candidate lists as the InstSrc rank is a criteria for candidate selection. |
|
|
|
Special call to create the instSrcManager (if it does not already exist), but prevent autoenabling of any InstSrc'es found in the cache. Returns true, if the call succeeded. Otherwise the instSrcManager has already been constructed, and may or may not contain enabled InstSrc'es. |
|
Access to the Package manager |
|
[package/selectionManager] Forgett a previously saved selection. |
|
[package/selectionManager] Return true if current selection differs from previously saved selection. |
|
[package/selectionManager] Restore previously saved selection. |
|
[package/selectionManager] Save current selection |
|
Triggered if preferred locale value actually changed. |
|
|
|
|
|
|
|
Remove a single package by name. |
|
Triggered if requested locale value actually changed. |
|
If false, root is ramdisk, and system to install is (or will be) mounted below _system_rootdir. Need to know this e.g. in InstSrc to determine, wheter to write a chache on 'enable' or to wait until system to be installed is available below _system_rootdir. |
|
Access to the Selection manager |
|
|
|
|
|
|
|
|
|
Change the preferred locale. |
|
|
|
Change requested locales. |
|
Access to the YouPatch manager |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|