YaST2 Developers Documentation: Update.ycp

Update.ycp

Imports

  • Packages
  • ProductFeatures
  • Stage

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

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