YaST2 Developers Documentation: SuSERelease.ycp

SuSERelease.ycp

  • Jiri Srain
  • Purpose: Responsible for getting information from the /etc/SuSE-release
  • (and similar for other system) file

This module has an unstable interface.

Imports

  • Stage

Global Functions

Local Functions

local MakeNiceName (string longname) -> string

Make a nice name for a system out of the long name

Parameters:
longname string the long product name
Return value:
nice product name (to be displayed)
local ReleaseFileContents (string directory) -> string

Find and get the contents of the release file

Parameters:
directory containing the installed system (/ in installed system)
Return value:
contents of the release file
global ReleaseInformation (string directory) -> string

Get information about the release for displaying in the selection list of found systems

Parameters:
directory containing the installed system (/ in installed system)
Return value:
the release information
global ReleaseName () -> string

Get information about the release for using in the help text Is limited for the currently running product

Return value:
the release information
global ReleaseVersion () -> string

Get information about the release Is limited for the currently running product

Return value:
the release information