NAME
Tapper::Installer::Precondition::PRC - Install Program Run Control to a given location
SYNOPSIS
use Tapper::Installer::Precondition::PRC;
FUNCTIONS
create_common_config
Create the part of the config that is the same for both Windows and Unix.
@return hash ref
create_config
Generate a config for PRC. Take special care for virtualisation environments. In this case, the host system runs a proxy which collects status messages from all virtualisation guests.
@param hash reference - contains all information about the PRC to install
@return success - (0, config hash) @return error - (1, error string)
install_startscript
Install a startscript for init in test state.
@return success - 0 @return error - error string
create_win_config
Create the config for a windows guest running the special Win-PRC. Win-PRC expects a flat YAML with some different keys and does not want any waste options.
@param hash reference - contains all information about the PRC to install
@return success - (0, config hash) @return error - (1, error string)
install
Install the tools used to control running of programs on the test system. This function is implemented to fullfill the needs of kernel testing and is likely to change dramatically in the future due to limited extensibility. Furthermore, it has the name of the PRC hard coded which isn't a good thing either.
@param hash ref - contains all information about the PRC to install
@return success - 0 @return error - return value of system or error string
get_distro
Find out which distribution is installed below the directory structure given as argument. The guessed distribution is returned as a string.
@param string - path name under which to check for an installed distribution
@return success - name of the distro @return error - empty string
AUTHOR
AMD OSRC Tapper Team, <tapper at amd64.org>
BUGS
None.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc Tapper
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
Copyright 2008-2011 AMD OSRC Tapper Team, all rights reserved.
This program is released under the following license: freebsd