
Tapper::Installer::Precondition::Kernelbuild

my $kernel_precondition = ' precondition_type: kernelbuild git_url: git://osrc.amd.com/linux-2.6.git changeset: HEAD patchdir: /patches '; use Tapper::Installer::Precondition::Kernelbuild; $kernel = Tapper::Installer::Precondition::Kernelbuild->new($config); $kernel->install(YAML::Load($kernel_precondition));

Tapper::Installer::Precondition::Kernelbuild - Build and install a kernel from git

URL rewrite.
@param string git_url
@return string - fixed git url
This function encapsulates getting a kernel source directory out of a git repository. It changes the current directory into the the repository.
@param string - repository URL @param string - revision in this repository
@return success - 0 @return error - error string
Get the kernel config.
@return success - 0 @return error - error string
Build and install a kernel and write all log messages to STDOUT/STDERR.
@return success - 0 @return error - error string
Sort function, sort files based on modification time.
Build and install an initrd and write all log messages to STDOUT/STDERR.
@return success - 0 @return error - error string
Get the source if needed, prepare the config, build and install the kernel and initrd file.
@param hash reference - contains all information about the kernel
@return success - 0 @return error - error string

AMD OSRC Tapper Team <tapper@amd64.org>

This software is Copyright (c) 2012 by Advanced Micro Devices, Inc..
This is free software, licensed under:
The (two-clause) FreeBSD License