YaST2 Developers Documentation: Update.ycp

Update.ycp

This module has an unstable interface.

Imports

  • Installation
  • Packages
  • ProductFeatures
  • Stage
  • SuSERelease

Global Functions

global ProductsCompatible () -> boolean

Check if installed product and product to upgrade to are compatible

Return value:
true if update is possible
global Reset () -> void

global fill_version_map (map <string, any>& data) -> void

Parameters:
data
global GetProductName () -> boolean

Read product name and version for the old and new release. Fill installedVersion and updateVersion.

Return value:
success
global GetBaseSelections () -> list<string>

Get all available base selections sorted in reverse order (highest ordered bases selection comes first).

global ProposeSelection () -> void

Propose a selection for the update and save it's name in Update::selected_selection.

global Detach () -> void