Name
SCROpen — Create a new scr instance.
Synopsis
integer
SCROpen
( |
string
name
, |
|
boolean
check_version
) ; |
Parameters
-
string
name
a valid y2component name
-
boolean
check_version
determines whether the SuSE Version should be checked
Return
-
integer
On error a negative value is returned.
Description
Creates a new scr instance. The name must be a valid y2component name (e.g. "scr", "chroot=/mnt:scr"). The component is created immediately. The parameter check_version determines whether the SuSE Version should be checked. On error a negative value is returned.